### Question:
WriterService { public String getTableClassName(String tableName) { return StringUtils.toString(config.getTableClassPrefix(), "") + deriveClassName(tableName) + StringUtils.toString(config.getTableClassSuffix(),""); } WriterService(CodeGenConfig config); String getTableName(DBTable t); String getViewName(DBView v); String getRowsetName(DBRowSet r); String getColumnName(DBColumn c); String getTableClassName(String tableName); String getViewClassName(String viewName); String getRecordClassName(String tableName); String getAccessorName(DBColumn column); String getMutatorName(DBColumn column); boolean hasBigDecimalField(DBTable table); boolean hasDateField(DBTable table); boolean hasLockingColumn(DBTable table); Class<?> getJavaType(DBColumn column); DataType getDataType(DBColumn c);  }### Answer:
@Test public void testGetTableClassName() { CodeGenConfig config = new CodeGenConfig(); WriterService service = new WriterService(config); assertEquals("TestTable", service.getTableClassName("test_table")); assertEquals("TestTable", service.getTableClassName("TEST_TABLE")); assertEquals("Testtable", service.getTableClassName("TESTTABLE")); }