Home
last modified time | relevance | path

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

/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DReturnsArgumentAt.java35 public static final int LAST_ARGUMENT = -1; field in ReturnsArgumentAt
46 if (wantedArgumentPosition != LAST_ARGUMENT && wantedArgumentPosition < 0) { in ReturnsArgumentAt()
75 if (wantedArgumentPosition == LAST_ARGUMENT) in inferWantedArgumentPosition()
84 … wantedArgumentPosition == LAST_ARGUMENT, in validateIndexWithinInvocationRange()
/external/mockito/src/main/java/org/mockito/
DAdditionalAnswers.java182 return (Answer<T>) new ReturnsArgumentAt(ReturnsArgumentAt.LAST_ARGUMENT); in returnsLastArg()
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DReturnsArgumentAtTest.java154 new ReturnsArgumentAt(ReturnsArgumentAt.LAST_ARGUMENT).validateFor( in should_fail_if_index_is_not_in_range_for_example_with_no_arg_invocation()