use of io.swagger.models.properties.UUIDProperty in project swagger-core by swagger-api.
the class UUIDPropertyTest method testEquals.
@Test
public void testEquals() {
final UUIDProperty prop1 = new UUIDProperty();
prop1.setName(PROP_1);
prop1.setRequired(true);
final UUIDProperty prop2 = new UUIDProperty();
prop2.setName(PROP_2);
assertNotEquals(prop1, prop2);
prop2.setName(PROP_1);
prop2.setRequired(true);
assertEquals(prop1, prop2);
}
Aggregations