File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
driver/src/test/java/org/neo4j/driver Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 38
38
import static org .junit .jupiter .api .Assertions .assertEquals ;
39
39
import static org .junit .jupiter .api .Assertions .assertThrows ;
40
40
import static org .mockito .ArgumentMatchers .any ;
41
- import static org .mockito .ArgumentMatchers .anyString ;
42
41
import static org .mockito .ArgumentMatchers .eq ;
43
42
import static org .mockito .Mockito .mock ;
44
43
import static org .mockito .Mockito .verify ;
@@ -102,7 +101,7 @@ void shouldLogWhenUnableToCreateRoutingDriver() throws Exception
102
101
103
102
Logging logging = mock ( Logging .class );
104
103
Logger logger = mock ( Logger .class );
105
- when ( logging .getLog ( anyString ( ) ) ).thenReturn ( logger );
104
+ when ( logging .getLog ( any ( Class . class ) ) ).thenReturn ( logger );
106
105
107
106
Config config = Config .builder ()
108
107
.withoutEncryption ()
You can’t perform that action at this time.
0 commit comments