Skip to content

Commit 68e918e

Browse files
committed
Use ArgumentMatchers.anyCollection().
This is forward looking, but is necessary to import the change into Google.
1 parent 00b2451 commit 68e918e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/github/fge/jsonschema/core/keyword/syntax/SyntaxProcessorTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
import com.google.common.base.Function;
4646
import com.google.common.collect.Iterables;
4747
import org.mockito.ArgumentCaptor;
48+
import org.mockito.ArgumentMatchers;
4849
import org.mockito.Mockito;
4950
import org.testng.annotations.BeforeMethod;
5051
import org.testng.annotations.DataProvider;
@@ -202,7 +203,7 @@ public void checkingWillNotDiveIntoUnknownKeywords()
202203
final ValueHolder<SchemaTree> holder = ValueHolder.hold("schema", tree);
203204

204205
processor.process(report, holder);
205-
verify(checker, never()).checkSyntax(Mockito.<JsonPointer>anyCollection(),
206+
verify(checker, never()).checkSyntax(ArgumentMatchers.<JsonPointer>anyCollection(),
206207
any(MessageBundle.class), anyReport(), anySchema());
207208
}
208209

0 commit comments

Comments
 (0)