### Question:
ConditionAssociationModelFactoryImpl implements
        ConditionAssociationModelFactory { public ConditionAssociationModel getConditionAssociationModel( PropertyMeta propertyMeta) { ConditionAssociationModel model = new ConditionAssociationModel(); model.setName(propertyMeta.getName()); Class<?> relationshipClass = propertyMeta.getRelationshipClass(); String shortReturnClassName = relationshipClass.getSimpleName() + conditionClassNameSuffix; model.setShortConditionClassName(shortReturnClassName); return model; } ConditionAssociationModelFactoryImpl(String conditionClassNameSuffix); ConditionAssociationModel getConditionAssociationModel(
            PropertyMeta propertyMeta);  }### Answer:
@Test public void testGetConditionMethodModel() throws Exception { PropertyMeta propertyMeta = new PropertyMeta(); propertyMeta.setName("property"); propertyMeta.setField(getClass().getDeclaredField("property")); propertyMeta.setRelationshipClass(String.class); ConditionAssociationModel model = factory .getConditionAssociationModel(propertyMeta); assertEquals("property", model.getName()); assertEquals("StringCondition", model.getShortConditionClassName()); }