### Question:
DefaultNamingStrategy implements NamingStrategy { @Override public String getColumnName(Facet facet) { Column column = facet.getAnnotation(Column.class); return column == null ? underscoreSeparated(facet.getName()) : column.value(); }  static String underscoreSeparated(String camelCaseName); @Override String getColumnName(Facet facet); String getReferenceTableName(Facet facet); @Override String getTableName(Class<?> pojoClass);  }### Answer:
@Test public void testGetAnnotatedColumnName() throws Exception { Facet facet = getFacet(AnnotatedPojoType.class, "fieldName"); DefaultNamingStrategy strategy = new DefaultNamingStrategy(); assertEquals("Bar", strategy.getColumnName(facet)); }
@Test public void testGetDefaultColumnName() throws Exception { Facet facet = getFacet(PojoType.class, "fieldName"); assertEquals("field_name", strategy.getColumnName(facet)); }