Remove @author tags
[Sone.git] / src / test / java / net / pterodactylus / sone / freenet / wot / IdentityManagerTest.java
index 2bb6d1f..45e95db 100644 (file)
@@ -1,5 +1,6 @@
 package net.pterodactylus.sone.freenet.wot;
 
+import static com.google.common.base.Optional.of;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.is;
 import static org.mockito.Mockito.doThrow;
@@ -12,15 +13,13 @@ import com.google.common.eventbus.EventBus;
 import org.junit.Test;
 
 /**
- * Unit test for {@link IdentityManager}.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ * Unit test for {@link IdentityManagerImpl}.
  */
 public class IdentityManagerTest {
 
        private final EventBus eventBus = mock(EventBus.class);
        private final WebOfTrustConnector webOfTrustConnector = mock(WebOfTrustConnector.class);
-       private final IdentityManager identityManager = new IdentityManager(eventBus, webOfTrustConnector, new Context("Test"));
+       private final IdentityManager identityManager = new IdentityManagerImpl(eventBus, webOfTrustConnector, new IdentityLoader(webOfTrustConnector, of(new Context("Test"))));
 
        @Test
        public void identityManagerPingsWotConnector() throws PluginException {