package haveno.seednode;

import com.google.inject.Guice;
import haveno.common.config.Config;
import haveno.core.app.misc.AppSetupWithP2P;
import haveno.core.app.misc.ModuleForAppWithP2p;
import haveno.core.locale.CurrencyUtil;
import haveno.core.locale.Res;
import org.junit.jupiter.api.Test;

public class GuiceSetupTest {
    @Test
    public void testGuiceSetup() {
        Res.setup();
        CurrencyUtil.setup();

        ModuleForAppWithP2p module = new ModuleForAppWithP2p(new Config());
        Guice.createInjector(module).getInstance(AppSetupWithP2P.class);
    }
}
