public synchronized Set<String> getTopicNames() {
    return topicNames;
  }
@Test
  public void testGetTopicNameShouldReturnCorrectValue() {
    for (String topicName : testManager.getTopicNames()) {
      assertThat(topicName).matches(TEST_ID + "-\\d" + "-\\d{8}-\\d{6}-\\d{6}");
    }
  }