@Test
public void httpServerCanLoadJarPackage() throws Exception {

    HttpServer httpSever = new HttpServer();
    List<ServerSource> sources = httpSever.getServerSources();
    Map<String, ServletWrapper> router = new HashMap<>();
    ServletWrapper wrapper1 = new ServletWrapper(
            "index",
            "/",
            "info.xiantang.jerrymouse.staticresource.IndexServlet",
            0,
            null,
            null);
    ServletWrapper wrapper2 = new ServletWrapper(
            "hello",
            "/hello",
            "info.xiantang.jerrymouse.staticresource.HelloServlet",
            null,
            null,
            null);
    router.put("/", wrapper1);
    router.put("/hello", wrapper2);
    Configuration config = new Configuration(9000, 3, router);
    assertEquals(new ServerSource("sample.jar",config), sources.get(1));
}