package bisq.seednode;

import bisq.core.app.BisqEnvironment;
import bisq.core.app.misc.ModuleForAppWithP2p;

import org.springframework.mock.env.MockPropertySource;

import com.google.inject.Guice;

import org.junit.Test;

public class GuiceSetupTest {
    @Test
    public void testGuiceSetup() {
        ModuleForAppWithP2p module = new ModuleForAppWithP2p(new BisqEnvironment(new MockPropertySource()));
        Guice.createInjector(module);
    }
}

@@ -55,16 +55,65 @@
 onment;%0A
+import bisq.core.app.misc.AppSetupWithP2PAndDAO;%0A
 import b
@@ -486,16 +486,57 @@
 (module)
+.getInstance(AppSetupWithP2PAndDAO.class)
 ;%0A    %7D%0A

test all of it