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.java38 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_interactions()
48 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_stubbings()
59 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_unused_stubbings()
69 assertEquals(1, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in unused_stubbings()
116 Collection stubbings = finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)); in some_unused_stubbings_by_location()
134 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in stubbing_used_by_location()
145 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.java53 public Collection<Invocation> getUnusedStubbingsByLocation(Iterable<Object> mocks) { in getUnusedStubbingsByLocation() method in UnusedStubbingsFinder