Searched refs:spy (Results 1 – 3 of 3) sorted by relevance
54 Consumer<Object> spy = (o) -> { found.add(o); }; in testForEach() local55 c.stream().forEach(spy); in testForEach()59 c.stream().forEach(spy); in testForEach()64 c.stream().forEach(spy); in testForEach()71 c.stream().forEach(spy); in testForEach()
656 Consumer<Object> spy = o -> found.add(o);657 c.stream().forEach(spy);661 c.stream().forEach(spy);666 c.stream().forEach(spy);673 c.stream().forEach(spy);714 Consumer<Object> spy = o -> found.add(o);715 c.forEach(spy);719 c.forEach(spy);724 c.forEach(spy);731 c.forEach(spy);
21 import static org.mockito.Mockito.spy;472 Provider provider = spy(new MockableProvider()); in testGetParameters_IsCalled()473 Provider.Service service = spy(new Provider.Service(provider, "Signature", in testGetParameters_IsCalled()