X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftest%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ftemplate%2FIdentityAccessorTest.java;h=4a8c624081c712703d169a2853b0a724518367d5;hb=a57dae72e505fec934a9516b88fea75c473f7641;hp=33149e0c24b10126856d28d6d3b5df990283b1e4;hpb=0e8f7804ce344bdd69f5ecc7febe25a60a53561d;p=Sone.git
diff --git a/src/test/java/net/pterodactylus/sone/template/IdentityAccessorTest.java b/src/test/java/net/pterodactylus/sone/template/IdentityAccessorTest.java
index 33149e0..4a8c624 100644
--- a/src/test/java/net/pterodactylus/sone/template/IdentityAccessorTest.java
+++ b/src/test/java/net/pterodactylus/sone/template/IdentityAccessorTest.java
@@ -2,6 +2,8 @@ package net.pterodactylus.sone.template;
import static java.util.Arrays.asList;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.notNullValue;
+import static org.hamcrest.Matchers.sameInstance;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
@@ -12,15 +14,16 @@ import net.pterodactylus.sone.core.Core;
import net.pterodactylus.sone.freenet.wot.Identity;
import net.pterodactylus.sone.freenet.wot.IdentityManager;
import net.pterodactylus.sone.freenet.wot.OwnIdentity;
+import net.pterodactylus.sone.test.GuiceKt;
+import com.google.inject.Guice;
+import com.google.inject.Injector;
import org.hamcrest.Matchers;
import org.junit.Before;
import org.junit.Test;
/**
* Unit test for {@link IdentityAccessor}.
- *
- * @author David âBombeâ Roden
*/
public class IdentityAccessorTest {
@@ -78,4 +81,22 @@ public class IdentityAccessorTest {
Matchers.