Searched refs:anyVararg (Results 1 – 6 of 6) sorted by relevance
73 …given(resolver.resolveTypeInstances(Matchers.<Class<?>[]>anyVararg())).willReturn(new Object[]{ ob… in should_instantiate_type_if_resolver_provide_matching_types()86 …given(resolver.resolveTypeInstances(Matchers.<Class<?>[]>anyVararg())).willReturn(new Object[]{ ob… in should_fail_if_an_argument_instance_type_do_not_match_wanted_type()98 …given(resolver.resolveTypeInstances(Matchers.<Class<?>[]>anyVararg())).willReturn(new Object[]{ nu… in should_report_failure_if_constructor_throws_exception()111 …given(resolver.resolveTypeInstances(Matchers.<Class<?>[]>anyVararg())).willReturn(new Object[]{ ""… in should_instantiate_type_with_vararg_constructor()
31 verify(table, times(2)).newRow(anyString(), (String[]) anyVararg()); in shouldVerifyCorrectlyWithAnyVarargs()41 verify(table, times(2)).newRow(eq("x"), (String[]) anyVararg()); in shouldVerifyCorrectlyNumberOfInvocationsUsingAnyVarargAndEqualArgument()
32 verify(mock).run((String[]) anyVararg()); in shouldMatchAnyVararg()52 when(mock.run((String[]) anyVararg())).thenReturn("foo"); in shouldStubUsingAnyVarargs()
18 import static org.mockito.BDDMockito.anyVararg;58 given(iMethods.varargsObject(eq(1), anyVararg())).will(returnsArgAt(3)); in can_return_expanded_arguments_of_invocation()
171 when(mock.foo(anyVararg())).thenReturn(-1); in shouldMatchEasilyEmptyVararg()
258 public static <T> T anyVararg() { in anyVararg() method in ArgumentMatchers