@Beta
    public static Application fromBuilder(Builder builder) throws Exception {
        return builder.build();
    }
@Test
    void renderer() throws Exception {
        try (
                ApplicationFacade app = new ApplicationFacade(Application.fromBuilder(new Application.Builder().container("default", new Application.Builder.Container()
                        .renderer("mock", MockRenderer.class))))
                ) {

            Request request = new Request("http://localhost:" + getDefaults().vespaWebServicePort() + "/search/?format=mock");
            Response response = app.handleRequest(request);
            assertNotNull(response);
            assertEquals(response.getStatus(), 200);
            assertEquals(response.getBodyAsString(), "<mock hits=\"0\" />");
        }
    }