X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftest%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FWebOfTrustUpdaterTest.java;h=664e4a1d65da4aa3d6327f81b8e2520b662e90db;hb=a57dae72e505fec934a9516b88fea75c473f7641;hp=a493923c522b34e4d89e4c35ec5c4cbdee3044da;hpb=4db31cfb946d907661a55815baf4a19ceba0ae99;p=Sone.git
diff --git a/src/test/java/net/pterodactylus/sone/core/WebOfTrustUpdaterTest.java b/src/test/java/net/pterodactylus/sone/core/WebOfTrustUpdaterTest.java
index a493923..664e4a1 100644
--- a/src/test/java/net/pterodactylus/sone/core/WebOfTrustUpdaterTest.java
+++ b/src/test/java/net/pterodactylus/sone/core/WebOfTrustUpdaterTest.java
@@ -6,7 +6,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.not;
-import static org.mockito.Matchers.eq;
+import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.doAnswer;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.mock;
@@ -35,8 +35,6 @@ import org.mockito.stubbing.Answer;
/**
* Unit test for {@link WebOfTrustUpdaterImpl} and its subclasses.
- *
- * @author David âBombeâ Roden
*/
public class WebOfTrustUpdaterTest {
@@ -408,7 +406,7 @@ public class WebOfTrustUpdaterTest {
@Test
public void setTrustSetsTrust() throws InterruptedException, PluginException {
- final CountDownLatch trustSetTrigger =new CountDownLatch(1);
+ final CountDownLatch trustSetTrigger = new CountDownLatch(1);
doAnswer(new Answer() {
@Override
public Void answer(InvocationOnMock invocation) throws Throwable {