@Test
public void testOwnerFields() {
File file = new File(TestConstants.PETCLINIC_SOURCE_LOCATION);
SpringEntityMappings mappings = new SpringEntityMappings(file);
ModelFieldSet ownerFields = mappings.getPossibleParametersForModelType("Owner");
assertTrue(ownerFields != null);
assertTrue(ownerFields.getField("lastName").getType().equals("String"));
assertTrue(ownerFields.getField("firstName").getType().equals("String"));
assertTrue(ownerFields.getField("address").getType().equals("String"));
assertTrue(ownerFields.getField("city").getType().equals("String"));
assertTrue(ownerFields.getField("telephone").getType().equals("String"));
assertTrue(ownerFields.getField("id").getType().equals("Integer"));
}