Searched refs:producerMonitorFor (Results 1 – 9 of 9) sorted by relevance
91 when(mockProductionComponentMonitor.producerMonitorFor(nullable(ProducerToken.class))) in singleMonitor_nullProducerMonitor()97 assertThat(monitor.producerMonitorFor(ProducerToken.create(Object.class))) in singleMonitor_nullProducerMonitor()107 .producerMonitorFor(nullable(ProducerToken.class)); in singleMonitor_throwingProductionComponentMonitor()112 assertThat(monitor.producerMonitorFor(ProducerToken.create(Object.class))) in singleMonitor_throwingProductionComponentMonitor()124 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in singleMonitor_normalProducerMonitorSuccess()147 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in singleMonitor_normalProducerMonitorFailure()176 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in singleMonitor_throwingProducerMonitorSuccess()203 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in singleMonitor_throwingProducerMonitorFailure()258 when(mockProductionComponentMonitorA.producerMonitorFor(nullable(ProducerToken.class))) in multipleMonitors_someNullProductionComponentMonitors()268 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in multipleMonitors_someNullProductionComponentMonitors()[all …]
69 monitor.producerMonitorFor(ProducerToken.create(ProducerClassA.class)); in normalExecution_success()76 monitor.producerMonitorFor(ProducerToken.create(ProducerClassB.class)); in normalExecution_success()98 monitor.producerMonitorFor(ProducerToken.create(ProducerClassA.class)); in normalExecution_failure()105 monitor.producerMonitorFor(ProducerToken.create(ProducerClassB.class)); in normalExecution_failure()
57 when(componentMonitor.producerMonitorFor(any(ProducerToken.class))).thenReturn(monitor); in setUpMocks()82 order.verify(componentMonitor).producerMonitorFor(token); in noArgMethod()116 order.verify(componentMonitor).producerMonitorFor(token); in successMonitor()145 order.verify(componentMonitor).producerMonitorFor(token); in failureMonitor()175 order.verify(componentMonitor).producerMonitorFor(token); in failureMonitorDueToThrowingProducer()
51 public abstract ProducerMonitor producerMonitorFor(ProducerToken token); in producerMonitorFor() method in ProductionComponentMonitor56 public ProducerMonitor producerMonitorFor(ProducerToken token) {
44 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in TimingProductionComponentMonitor
86 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in Monitors.NonThrowingProductionComponentMonitor88 ProducerMonitor monitor = delegate.producerMonitorFor(token); in producerMonitorFor()197 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in Monitors.DelegatingProductionComponentMonitor201 ProducerMonitor monitor = delegate.producerMonitorFor(token); in producerMonitorFor()
59 monitor = monitorProvider.get().producerMonitorFor(token); in compute()
164 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in MonitoringTest.FakeProductionComponentMonitor227 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in MonitoringTest.ThreadRecordingProductionComponentMonitor
59 when(componentMonitor.producerMonitorFor(nullable(ProducerToken.class))).thenReturn(monitor); in initMocks()