public class AnswerWith extends Object
Modifier and Type | Field and Description |
---|---|
static org.mockito.stubbing.Answer<?> |
EMPTY_OPTIONAL_IF_APPLICABLE |
Constructor and Description |
---|
AnswerWith() |
Modifier and Type | Method and Description |
---|---|
static <X> org.mockito.stubbing.Answer<X> |
firstParameter() |
static <F,T> org.mockito.stubbing.Answer<T> |
firstParameterMapped(com.google.common.base.Function<F,T> transformation) |
static <X> org.mockito.stubbing.Answer<X> |
mockInstance() |
static <X> org.mockito.stubbing.Answer<X> |
throwAssertionError() |
public static final org.mockito.stubbing.Answer<?> EMPTY_OPTIONAL_IF_APPLICABLE
public static <X> org.mockito.stubbing.Answer<X> firstParameter()
public static <F,T> org.mockito.stubbing.Answer<T> firstParameterMapped(com.google.common.base.Function<F,T> transformation)
public static <X> org.mockito.stubbing.Answer<X> mockInstance()
public static <X> org.mockito.stubbing.Answer<X> throwAssertionError()
Copyright © 2002-2017 Atlassian. All Rights Reserved.