File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ public void setUp() {
129
129
when (db .runCommand (Mockito .any (), Mockito .any (Class .class ))).thenReturn (commandResultDocument );
130
130
when (collection .find (Mockito .any (org .bson .Document .class ))).thenReturn (findIterable );
131
131
when (collection .mapReduce (Mockito .any (), Mockito .any ())).thenReturn (mapReduceIterable );
132
- when (collection .count (any (), any ())).thenReturn (1L );
132
+ when (collection .count (any (Bson . class ), any (CountOptions . class ))).thenReturn (1L );
133
133
when (findIterable .projection (Mockito .any ())).thenReturn (findIterable );
134
134
when (findIterable .sort (Mockito .any (org .bson .Document .class ))).thenReturn (findIterable );
135
135
when (findIterable .modifiers (Mockito .any (org .bson .Document .class ))).thenReturn (findIterable );
You can’t perform that action at this time.
0 commit comments