Searched refs:varargCaptor (Results 1 – 1 of 1) sorted by relevance
316 ArgumentCaptor<String[]> varargCaptor = ArgumentCaptor.forClass(String[].class); in shouldCaptureVarArgsAsArray() local318 verify(mock).varargs(varargCaptor.capture()); in shouldCaptureVarArgsAsArray()320 assertThat(varargCaptor).containsExactly(new String[] { "1", "2" }); in shouldCaptureVarArgsAsArray()