}
@Test
public void should_capture_all_vararg() throws Exception {
// given
IMethods mock = mock(IMethods.class);
ArgumentCaptor<String> argumentCaptor = ArgumentCaptor.forClass(String.class);
// when
mock.mixedVarargs(42, "a", "b", "c");
mock.mixedVarargs(42, "again ?!");
// then
verify(mock, times(2)).mixedVarargs(any(), argumentCaptor.capture());
List<String> allVarargsValues = argumentCaptor.getAllValues();