OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:returnselementsof
(Results
1 - 8
of
8
) sorted by null
/external/mockito/src/org/mockito/stubbing/answers/
ReturnsElementsOf.java
17
* when(mock.foo()).thenReturn(new
ReturnsElementsOf
(Arrays.asList(1, 2, 3)));
20
* @deprecated Use {@link org.mockito.AdditionalAnswers#
returnsElementsOf
}
23
public class
ReturnsElementsOf
extends org.mockito.internal.stubbing.answers.
ReturnsElementsOf
{
26
public
ReturnsElementsOf
(Collection<?> elements) {
/external/mockito/src/org/mockito/internal/stubbing/answers/
ReturnsElementsOf.java
22
* when(mock.foo()).thenAnswer(new
ReturnsElementsOf
(Arrays.asList(1, 2, 3)));
28
* {@link org.mockito.AdditionalAnswers#
returnsElementsOf
(java.util.Collection)}
33
public class
ReturnsElementsOf
implements Answer<Object> {
37
public
ReturnsElementsOf
(Collection<?> elements) {
39
throw new MockitoException("
ReturnsElementsOf
does not accept null as constructor argument.\n" +
/external/mockito/src/org/mockito/
AdditionalAnswers.java
8
import org.mockito.internal.stubbing.answers.
ReturnsElementsOf
;
183
* when(mock.foo()).thenAnswer(new
ReturnsElementsOf
(Arrays.asList(1, 2, 3)));
191
public static <T> Answer<T>
returnsElementsOf
(Collection<?> elements) {
192
return (Answer<T>) new
ReturnsElementsOf
(elements);
/prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5-sources.jar
mockito-all-1.9.5.jar
/prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5-sources.jar
mockito-core-1.9.5.jar
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
Completed in 413 milliseconds