🎨 Use nullable type instead of optional
[Sone.git] / src / test / java / net / pterodactylus / sone / freenet / wot / IdentityManagerTest.java
index 45e95db..62f91b8 100644 (file)
@@ -19,7 +19,7 @@ public class IdentityManagerTest {
 
        private final EventBus eventBus = mock(EventBus.class);
        private final WebOfTrustConnector webOfTrustConnector = mock(WebOfTrustConnector.class);
-       private final IdentityManager identityManager = new IdentityManagerImpl(eventBus, webOfTrustConnector, new IdentityLoader(webOfTrustConnector, of(new Context("Test"))));
+       private final IdentityManager identityManager = new IdentityManagerImpl(eventBus, webOfTrustConnector, new IdentityLoader(webOfTrustConnector, new Context("Test")));
 
        @Test
        public void identityManagerPingsWotConnector() throws PluginException {