### Question:
NamingHelper { public static String toTableName(Class<?> table) { if (table.isAnnotationPresent(Table.class)) { Table annotation = table.getAnnotation(Table.class); if ("".equals(annotation.name())) { return NamingHelper.toSQLNameDefault(table.getSimpleName()); } return annotation.name(); } return NamingHelper.toSQLNameDefault(table.getSimpleName()); } private  NamingHelper(); static String toSQLNameDefault(String camelCased); static String toColumnName(Field field); static String toTableName(Class<?> table);  }### Answer:
@Test public void testToSQLNameFromClass() { assertEquals("TEST_RECORD", toTableName(TestRecord.class)); }