@Test
public void removeListener() {

    final TestingListener listener = new TestingListener();
    manager.addListener(listener);
    manager.removeListener(listener);
    final ExpirableBloomFilterConfig config = new ExpirableBloomFilterConfig();
    manager.createFilter(testingFilterName, config);
    List<FilterEvent> events = listener.getReceivedEvents();
    assertThat(events.size()).isZero();
}