@Test
public void testMultiSet() throws Exception {

    final List<String> testingValues = new ArrayList<>();
    testingValues.add("testing-value1");
    testingValues.add("testing-value2");
    testingValues.add("testing-value3");
    final GuavaBloomFilter testingFilter = factory.createFilter(new ExpirableBloomFilterConfig());
    when(mockedManager.ensureGetValidFilter(testingFilterName)).thenReturn(testingFilter);
    final ArrayNode values = mapper.createArrayNode();
    testingValues.forEach(values::add);
    final ObjectNode param = mapper.createObjectNode();
    param.set("values", values);
    final JsonNode res = service.multiCheckAndSet(testingFilterName, param);
    assertThat(res.isArray()).isTrue();
    for (final JsonNode mightContain : res) {
        assertThat(mightContain.isBoolean()).isTrue();
        assertThat(mightContain.asBoolean()).isFalse();
    }
    for (final String value : testingValues) {
        assertThat(testingFilter.mightContain(value)).isTrue();
    }
}