OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mixedVarargs
(Results
1 - 6
of
6
) sorted by null
/external/mockito/src/test/java/org/mockitousage/basicapi/
UsingVarargsTest.java
137
interface
MixedVarargs
{
146
MixedVarargs
mixedVarargs
= mock(
MixedVarargs
.class);
147
when(
mixedVarargs
.doSomething("hello", (String[])null)).thenReturn("hello");
148
when(
mixedVarargs
.doSomething("goodbye", (String[])null)).thenReturn("goodbye");
150
String result =
mixedVarargs
.doSomething("hello",(String[]) null);
153
verify(
mixedVarargs
).doSomething("hello", (String[])null);
159
MixedVarargs
mixedVarargs
= mock(MixedVarargs.class)
[
all
...]
/external/mockito/src/test/java/org/mockitousage/matchers/
CapturingArgumentsTest.java
257
mock.
mixedVarargs
(42, "a", "b", "c");
260
verify(mock).
mixedVarargs
(any(), argumentCaptor.capture());
270
mock.
mixedVarargs
(42, "a", "b", "c");
271
mock.
mixedVarargs
(42, "again ?!");
274
verify(mock, times(2)).
mixedVarargs
(any(), argumentCaptor.capture());
298
mock.
mixedVarargs
(42, "a", "b", "c");
302
verify(mock).
mixedVarargs
(any(), argumentCaptor.capture(), argumentCaptor.capture(), argumentCaptor.capture());
/external/mockito/src/test/java/org/mockito/internal/invocation/
MatcherApplicationStrategyTest.java
124
invocation =
mixedVarargs
(1, "1", "2");
137
invocation =
mixedVarargs
(1, "1", "2");
150
invocation =
mixedVarargs
(1, "1", "2");
165
invocation =
mixedVarargs
(null, null, "2");
189
private Invocation
mixedVarargs
(Object a, String... s) {
190
mock.
mixedVarargs
(a, s);
InvocationMatcherTest.java
152
mock.
mixedVarargs
(1, "a", "b");
/external/mockito/src/test/java/org/mockitousage/
IMethods.java
173
void
mixedVarargs
(Object i, String ... string);
MethodsImpl.java
328
public void
mixedVarargs
(Object i, String... string) {
Completed in 168 milliseconds