@Test
    public void test() throws IOException {
        String actual = FilterBuilders.boolFilter(
            FilterBuilders.filter(
                FilterBuilders.termFilter("groupId", "GROUP_ID"),
                FilterBuilders.termFilter("artifactId", "ARTIFACT_ID")
            )
        ).string();
        Assert.assertEquals("{\"bool\":{\"filter\":[{\"term\":{\"groupId\":\"GROUP_ID\"}},{\"term\":{\"artifactId\":\"ARTIFACT_ID\"}}]}}", 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/AndFilterBuilderTest.java