Skip to content

Commit

Permalink
Fixes mockito#2273 : Add missing parenthesis to javadoc example
Browse files Browse the repository at this point in the history
  • Loading branch information
mvitz committed Apr 23, 2021
1 parent c86fe04 commit f47120d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/mockito/ArgumentMatcher.java
Expand Up @@ -61,7 +61,7 @@
*
* List mock = mock(List.class);
*
* when(mock.addAll(argThat(new ListOfTwoElements))).thenReturn(true);
* when(mock.addAll(argThat(new ListOfTwoElements()))).thenReturn(true);
*
* mock.addAll(Arrays.asList("one", "two"));
*
Expand Down

0 comments on commit f47120d

Please sign in to comment.