X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fnotify%2FListNotificationTest.java;h=5e40f8140d0424b2ee0681222361a49d28741250;hb=ed0b70c34c926fbb44ec61c8be9b9b9af26b1770;hp=c354afabb95ef4b00755195c964588f2b95611bf;hpb=0e7267cdf05217939687c3d97bb357801a27c7e6;p=Sone.git
diff --git a/src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java b/src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java
index c354afa..5e40f81 100644
--- a/src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java
+++ b/src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java
@@ -4,11 +4,11 @@ import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.emptyIterable;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.not;
-import static org.mockito.Matchers.argThat;
-import static org.mockito.Matchers.eq;
+import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
+import static org.mockito.hamcrest.MockitoHamcrest.argThat;
import java.util.Arrays;
@@ -21,8 +21,6 @@ import org.junit.Test;
/**
* Unit test for {@link ListNotification}.
- *
- * @author David âBombeâ Roden
*/
public class ListNotificationTest {
@@ -36,7 +34,7 @@ public class ListNotificationTest {
public ListNotificationTest() {
when(template.getInitialContext()).thenReturn(templateInitialContext);
- listNotification = new ListNotification