ITableRepositoryImpl implements ITableRepository { @Override public boolean iTableExists(Index index) { logger.info("Checking for existance of iTable for index: " + index.toString()); return iTableExists(Utils.calculateITableName(index)); } 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 testITableExists() { System.out.println("iTableExists"); Index index = Fixtures.createTestIndexOneField(); ITableRepository cleanUpInstance = new ITableRepositoryImpl(f.getSession()); boolean expResult = false; boolean result = cleanUpInstance.iTableExists(index); assertEquals(expResult, result); }