package app;

import core.framework.http.HTTPClient;
import core.framework.test.module.AbstractTestModule;
import core.framework.util.ClasspathResources;

import static org.mockito.Mockito.mock;

public class TestModule extends AbstractTestModule {
    @Override
    protected void initialize() {
        overrideBinding(HTTPClient.class, mock(HTTPClient.class));
        System.setProperty("app.monitor.config", ClasspathResources.text("monitor.json"));

        load(new MonitorApp());
    }
}

@@ -11,47 +11,8 @@
 p;%0A%0A
-import core.framework.http.HTTPClient;%0A
 impo
@@ -61,16 +61,16 @@
 Module;%0A
+
 import c
@@ -113,49 +113,8 @@
 s;%0A%0A
-import static org.mockito.Mockito.mock;%0A%0A
 publ
@@ -176,16 +176,16 @@
 verride%0A
+
     prot
@@ -214,75 +214,8 @@
 ) %7B%0A
-        overrideBinding(HTTPClient.class, mock(HTTPClient.class));%0A
     

fix unit test