Here is a related unit test :
@Test public void testGetPropertyName() { EntityType entityModel = new EntityType("Q", Types.OBJECT); assertEquals("whileCol", namingStrategy.getPropertyName("while", "Q", entityModel)); assertEquals("name", namingStrategy.getPropertyName("name", "Q", entityModel)); assertEquals("userId", namingStrategy.getPropertyName("user_id", "Q", entityModel)); assertEquals("accountEventId", namingStrategy.getPropertyName("accountEvent_id", "Q", entityModel)); }
Here is a related unit test :
@Test Name() {
assertEquals( "whileCol" , namingStrategy. getPropertyName ("while" , "Q", entityModel));
assertEquals( "name", namingStrategy. getPropertyName ("name" , "Q", entityModel));
assertEquals( "userId" , namingStrategy. getPropertyName ("user_ id", "Q", entityModel));
assertEquals( "accountEventId ", namingStrategy. getPropertyName ("accountEvent_ id", "Q", entityModel));
public void testGetProperty
EntityType entityModel = new EntityType("Q", Types.OBJECT);
}