@Test
    public void test() throws IOException {
        String actual = QueryBuilders.query(
                    FilterBuilders.notExistOrFalse("deleted")
                ).string();

        Assert.assertEquals("{\"query\":{\"bool\":{\"should\":[{\"bool\":{\"must_not\":[{\"term\":{\"deleted\":true}}]}},{\"bool\":{\"must_not\":[{\"exists\":{\"field\":\"deleted\"}}]}}]}}}",
                actual);
    }
Test method for {@link io.apiman.manager.api.es.util.BoolFilterBuilder#doXContent(io.apiman.manager.api.es.util.XContentBuilder)}.
manager/api/es/src/test/java/io/apiman/manager/api/es/util/MissingFilterBuilderTest.java