### Question:
DefaultNamingStrategy implements NamingStrategy { @Override public String getTableName(Class<?> pojoClass) { Table table = pojoClass.getAnnotation(Table.class); return table != null ? table.value() : underscoreSeparated(pojoClass.getSimpleName()); }  static String underscoreSeparated(String camelCaseName); @Override String getColumnName(Facet facet); String getReferenceTableName(Facet facet); @Override String getTableName(Class<?> pojoClass);  }### Answer:
@Test public void testGetAnnotatedTableName() throws Exception { assertEquals("Foo", strategy.getTableName(AnnotatedPojoType.class)); }
@Test public void testGetDefaultTableName() throws Exception { assertEquals("pojo_type", strategy.getTableName(PojoType.class)); }