@Beta
    public static Application fromBuilder(Builder builder) throws Exception {
        return builder.build();
    }
@Test
    void empty_container() throws Exception {
        try (ApplicationFacade app = new ApplicationFacade(Application.fromBuilder(new Application.Builder().container("default", new Application.Builder.Container())))) {
            try {
                app.process(new DocumentRemove(null));
                fail("expected exception");
            } catch (Exception ignore) {
                // no op
            }

            try {
                app.process(new Processing());
                fail("expected exception");
            } catch (Exception ignore) {
                // no op
            }

            try {
                app.search(new Query("?foo"));
                fail("expected exception");
            } catch (Exception ignore) {
                // no op
            }
        }
    }