### Question:
AmMixins { public static MultiplicityIntervalMixin of(MultiplicityInterval from) { return create(from); }  static MultiplicityIntervalMixin of(MultiplicityInterval from); static IntervalMixin<T, V> of(T from); static CAttributeMixin of(CAttribute from); static CardinalityMixin of(Cardinality from); static CPrimitiveObjectMixin of(CPrimitiveObject from); static CTerminologyCodeMixin of(CTerminologyCode from); static OperationalTemplateMixin of(OperationalTemplate from);  }### Answer:
@Test public void testIntervalOfInteger() throws Exception { IntervalOfInteger optional = newIntervalOfInteger(0, 1); IntervalOfInteger mandatory = newIntervalOfInteger(1, 1); IntervalOfInteger unbounded = newIntervalOfInteger(0, null); assertThat(AmMixins.of(optional).contains(mandatory)).isTrue(); assertThat(AmMixins.of(mandatory).contains(optional)).isFalse(); assertThat(AmMixins.of(unbounded).contains(optional)).isTrue(); assertThat(AmMixins.of(optional).contains(unbounded)).isFalse(); }