Searched refs:selectRandomTopic (Results 1 – 2 of 2) sorted by relevance
240 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic6); in testSelectRandomTopic()243 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic1); in testSelectRandomTopic()246 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic2); in testSelectRandomTopic()249 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic3); in testSelectRandomTopic()252 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic4); in testSelectRandomTopic()255 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic5); in testSelectRandomTopic()279 () -> epochManager.selectRandomTopic(Arrays.asList(topic1, topic2, topic3))); in testSelectRandomTopic_invalidSize_throw()283 () -> epochManager.selectRandomTopic(/* topTopics = */ null)); in testSelectRandomTopic_invalidSize_throw()
490 Topic returnedTopic = selectRandomTopic(topTopics); in computeReturnedAppSdkTopics()544 Topic selectRandomTopic(List<Topic> topTopics) { in selectRandomTopic() method in EpochManager