public class MockServer {
private MockServer() {
}
public static HiggsServer startNewServer() {
HttpProtocolConfiguration http = new HttpProtocolConfiguration();
URL cfg = MockServer.class.getClassLoader().getResource("config.yml");
assertNotNull(cfg);
HiggsServer server = new HiggsServer().setConfig(cfg.getPath(), HttpConfig.class);
server.registerProtocol(http);
//