ITableRepositoryImpl implements ITableRepository { @Override public void deleteITable(Index index) { String tableToDelete = Utils.calculateITableName(index); deleteITable(tableToDelete); } ITableRepositoryImpl(Session session); @Override boolean iTableExists(Index index); @Override boolean iTableExists(IndexIdentifier indexId); @Override void createITable(Index index); @Override void deleteITable(Index index); @Override void deleteITable(IndexIdentifier indexId); @Override void deleteITable(String tableName);  }
@Test public void testDeleteITable() { System.out.println("deleteITable"); ITableRepository instance = new ITableRepositoryImpl(f.getSession()); Index index = Fixtures.createTestIndexOneField(); boolean result = instance.iTableExists(index); assertEquals(false, result); instance.createITable(index); result = instance.iTableExists(index); assertEquals(true, result); instance.deleteITable(index); result = instance.iTableExists(index); assertEquals(false, result); }