@Test
    void handleRequest_yields_response_from_correct_request_handler() {
        final String handlerClass = TestHandler.class.getName();
        try (JDisc container = fromServicesXml("<container version=\"1.0\">" + //
                "<handler id=\"test-handler\" class=\"" + handlerClass + "\">" + //
                "<binding>http://*/TestHandler</binding>" + //
                "</handler>" + //
                "</container>", Networking.disable)) {
            Response response = container.handleRequest(new Request("http://foo/TestHandler"));
            try {
                assertEquals(TestHandler.RESPONSE, response.getBodyAsString());
            } catch (CharacterCodingException e) {
                throw new RuntimeException(e);
            }
        }
    }
@author Tony Vaagenes
@author gjoranv
@author ollivir
application/src/test/java/com/yahoo/application/container/ContainerTest.java