@Test
public void testGetFilterInfo() throws Exception {

    final GuavaBloomFilter expectedFilter = factory.createFilter(new ExpirableBloomFilterConfig());
    when(mockedManager.ensureGetValidFilter(testingFilterName)).thenReturn(expectedFilter);
    final GuavaBloomFilter filter = mapper.convertValue(service.getFilterInfo(testingFilterName), GuavaBloomFilter.class);
    assertThat(filter).isEqualTo(expectedFilter);
}