final Object otherSetType = doRoundTrip(setType);
assertEquals(setType, otherSetType);
}
public void testSeWithMemberTypeConstraintBoolean() throws Exception {
final ImmutableSetType setType = (ImmutableSetType) unmarshall(
getResourceAsString("res/set-with-member-type-constraint-boolean.xml"),
ImmutableSetTypeImpl.class);
// check the created object
final MetaDataType memberType =
setType.getMemberTypeConstraint().getMemberType();
assertTrue(memberType instanceof BooleanType);
final Object otherSetType = doRoundTrip(setType);
assertEquals(setType, otherSetType);
}