### Question:
JdbcContentPersistenceService implements ContentPersistenceService { protected boolean checkTableExists(String tableName) { if (TABLES_EXISTS.isEmpty()) { cacheAllTableNames(); } boolean exists = TABLES_EXISTS.containsKey(tableName); if (!exists) { cacheAllTableNames(); exists = TABLES_EXISTS.containsKey(tableName); } return exists; }  @PostConstruct void init(); @Override Map<String, Object> get(String id, String sysContentType); @Override @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) void store(String id, String sysContentType, Map<String, Object> content); @Override @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) void delete(String id, String sysContentType); List<String> getAllTableNames(); @Override ListRequest listRequestInit(String sysContentType); @Override ListRequest listRequestNext(ListRequest previous); DataSource getDataSource(); @Override int countRecords(String sysContentType); int rowCount(String tableName);  }### Answer:
@Test public void simulateClusterTableCreation() { JdbcContentPersistenceService tested = getTested(); Assert.assertFalse(tested.checkTableExists("table1")); createTable("TABLE1"); Assert.assertTrue(tested.checkTableExists("table1")); clearDatabase(); }