Home
last modified time | relevance | path

Searched refs:getUnusedStubbingsByLocation (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/internal/junit/
DUnusedStubbingsFinderTest.java33 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_interactions()
43 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_stubbings()
54 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_unused_stubbings()
64 assertEquals(1, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in unused_stubbings()
93 Collection stubbings = finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)); in some_unused_stubbings_by_location()
111 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in stubbing_used_by_location()
122 Collection stubbings = finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)); in deduplicates_stubbings_by_location()
/external/mockito/src/main/java/org/mockito/internal/junit/
DUnnecessaryStubbingsReporter.java27 … Collection<Invocation> unused = new UnusedStubbingsFinder().getUnusedStubbingsByLocation(mocks); in validateUnusedStubs()
DUnusedStubbingsFinder.java46 public Collection<Invocation> getUnusedStubbingsByLocation(Iterable<Object> mocks) { in getUnusedStubbingsByLocation() method in UnusedStubbingsFinder