Use static import
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 30 May 2016 17:31:33 +0000 (19:31 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 30 May 2016 17:31:33 +0000 (19:31 +0200)
src/test/java/de/todesbaum/jsite/application/Freenet7InterfaceTest.java

index c120efa..1f19977 100644 (file)
@@ -184,7 +184,7 @@ public class Freenet7InterfaceTest {
                message.put("RequestURI", REQUEST_URI);
                Client client = mock(Client.class);
                when(client.readMessage()).thenReturn(message);
-               when(clientSupplier.supply(eq(connection), Mockito.any(GenerateSSK.class))).thenReturn(client);
+               when(clientSupplier.supply(eq(connection), any(GenerateSSK.class))).thenReturn(client);
                String[] keyPair = freenet7Interface.generateKeyPair();
                assertThat(keyPair[0], is(INSERT_URI));
                assertThat(keyPair[1], is(REQUEST_URI));