Answer < T > function ( ) { return ( Answer < T > ) RETURNS_LAST_ARGUMENT ; }
returns the last parameter of an invocation . this additional answer could be used at stub time using the then | do | will org.mockito.stubbing.answer methods . for example : given person.remember dream1 , dream2 , dream3 , dream4 . will returnslastarg ; daanswer returnslastarg . when person . remember dream1 , dream2 , dream3 , dream4 concode_field_sep ReturnsArgumentAt RETURNS_LAST_ARGUMENT concode_elem_sep ReturnsArgumentAt RETURNS_FIRST_ARGUMENT concode_elem_sep ReturnsArgumentAt RETURNS_SECOND_ARGUMENT concode_field_sep Answer<T> returnsSecondArg concode_elem_sep Answer<T> returnsFirstArg concode_elem_sep Answer<T> delegatesTo concode_elem_sep Answer<T> returnsArgAt concode_elem_sep Answer<T> returnsElementsOf