Searched refs:selectRandomTopic (Results 1 – 2 of 2) sorted by relevance
261 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic6); in testSelectRandomTopic()264 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic1); in testSelectRandomTopic()267 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic2); in testSelectRandomTopic()270 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic3); in testSelectRandomTopic()273 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic4); in testSelectRandomTopic()276 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic5); in testSelectRandomTopic()300 () -> epochManager.selectRandomTopic(Arrays.asList(topic1, topic2, topic3))); in testSelectRandomTopic_invalidSize_throw()304 () -> epochManager.selectRandomTopic(/* topTopics = */ null)); in testSelectRandomTopic_invalidSize_throw()
486 Topic returnedTopic = selectRandomTopic(topTopics); in computeReturnedAppSdkTopics()540 Topic selectRandomTopic(List<Topic> topTopics) { in selectRandomTopic() method in EpochManager