Searched refs:selectRandomTopic (Results 1 – 2 of 2) sorted by relevance
214 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic6); in testSelectRandomTopic()217 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic1); in testSelectRandomTopic()220 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic2); in testSelectRandomTopic()223 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic3); in testSelectRandomTopic()226 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic4); in testSelectRandomTopic()229 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic5); in testSelectRandomTopic()250 () -> epochManager.selectRandomTopic(Arrays.asList(topic1, topic2, topic3))); in testSelectRandomTopic_invalidSize_throw()254 () -> epochManager.selectRandomTopic(/* topTopics = */ null)); in testSelectRandomTopic_invalidSize_throw()
396 Topic returnedTopic = selectRandomTopic(topTopics); in computeReturnedAppSdkTopics()440 Topic selectRandomTopic(List<Topic> topTopics) { in selectRandomTopic() method in EpochManager