🎨 Use static imports in test
[xudocci.git] / src / test / java / net / pterodactylus / xdcc / data / BotTest.java
index 57e3de3..75685a7 100644 (file)
@@ -1,5 +1,8 @@
 package net.pterodactylus.xdcc.data;
 
+import static org.hamcrest.MatcherAssert.*;
+import static org.hamcrest.Matchers.*;
+
 import org.hamcrest.MatcherAssert;
 import org.hamcrest.Matchers;
 import org.junit.Test;
@@ -21,7 +24,7 @@ public class BotTest {
        public void addingOneFileWithTwoIdsRemovesTheOldId() {
                bot.addPack(oldPack);
                bot.addPack(newPack);
-               MatcherAssert.assertThat(bot.packs(), Matchers.contains(newPack));
+               assertThat(bot.packs(), contains(newPack));
        }
 
 }