From: David ‘Bombe’ Roden Date: Mon, 30 May 2016 17:31:33 +0000 (+0200) Subject: Use static import X-Git-Tag: 0.13^2~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5d8a613a2606018ecf1df1ff6f2a4486949c3f4f;p=jSite.git Use static import --- 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));