Home
last modified time | relevance | path

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

/external/mockito/src/main/java/org/mockito/
DArgumentCaptor.java65 private final CapturingMatcher<T> capturingMatcher = new CapturingMatcher<T>(); field in ArgumentCaptor
83 Mockito.argThat(capturingMatcher); in capture()
97 return this.capturingMatcher.getLastValue(); in getValue()
133 return this.capturingMatcher.getAllValues(); in getAllValues()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationMatcherTest.java124 CapturingMatcher capturingMatcher = new CapturingMatcher(); in should_capture_arguments_from_invocation() local
125 …ationMatcher = new InvocationMatcher(invocation, (List) asList(new Equals("1"), capturingMatcher)); in should_capture_arguments_from_invocation()
131 assertEquals(1, capturingMatcher.getAllValues().size()); in should_capture_arguments_from_invocation()
132 assertEquals(100, capturingMatcher.getLastValue()); in should_capture_arguments_from_invocation()