Home
last modified time | relevance | path

Searched refs:spy (Results 1 – 2 of 2) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCollection8Test.java54 Consumer<Object> spy = (o) -> { found.add(o); }; in testForEach() local
55 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()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java21 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()