Lines Matching refs:producer
78 Producer<String> producer = in noArgMethod() local
80 assertThat(producer.get().get()).isEqualTo("str"); in noArgMethod()
93 Producer<String> producer = in singleArgMethod() local
96 assertThat(producer.get().isDone()).isFalse(); in singleArgMethod()
98 assertThat(producer.get().get()).isEqualTo("str with arg"); in singleArgMethod()
110 Producer<String> producer = in successMonitor() local
113 assertThat(producer.get().isDone()).isFalse(); in successMonitor()
121 assertThat(producer.get().isDone()).isFalse(); in successMonitor()
124 assertThat(producer.get().get()).isEqualTo("monkey"); in successMonitor()
139 Producer<String> producer = in failureMonitor() local
142 assertThat(producer.get().isDone()).isFalse(); in failureMonitor()
150 assertThat(producer.get().isDone()).isFalse(); in failureMonitor()
155 producer.get().get(); in failureMonitor()
169 Producer<String> producer = in failureMonitorDueToThrowingProducer() local
172 assertThat(producer.get().isDone()).isTrue(); in failureMonitorDueToThrowingProducer()
181 producer.get().get(); in failureMonitorDueToThrowingProducer()