Package org.mockito.internal.stubbing.answers
package org.mockito.internal.stubbing.answers
Answers for stubbed calls.
-
ClassesClassDescriptionFunctional interfaces to make it easy to implement answers in Java 8Returns as the provided answer would return, after delaying the specified amount.Optional Answer that adds partial mocking supportReturns the passed parameter identity at specified index.Returns elements of the collection.An answer that always throws the same throwable.