String topicName = "testPathA/testPathB/listTopicUnderASpecificPath";
// Act
TopicInfo topicInfo = service.createTopic(
new TopicInfo().setPath(topicName)).getValue();
ListTopicsResult listTopicResult = service
.listTopics(new ListTopicsOptions()
.setFilter("startswith(path, 'testPathA/testPathB') eq true"));
// Assert
assertNotNull(topicInfo);
assertEquals(1, listTopicResult.getItems().size());
}