From 5d8a613a2606018ecf1df1ff6f2a4486949c3f4f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 30 May 2016 19:31:33 +0200 Subject: [PATCH] Use static import --- src/test/java/de/todesbaum/jsite/application/Freenet7InterfaceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/de/todesbaum/jsite/application/Freenet7InterfaceTest.java b/src/test/java/de/todesbaum/jsite/application/Freenet7InterfaceTest.java index c120efa..1f19977 100644 --- a/src/test/java/de/todesbaum/jsite/application/Freenet7InterfaceTest.java +++ b/src/test/java/de/todesbaum/jsite/application/Freenet7InterfaceTest.java @@ -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)); -- 2.7.4