@Test
public void testSearchWithFilter() {

    thrown.expect(IllegalStateException.class);
    ElkConnectorImpl impl = new ElkConnectorImpl();
    impl.search(PolicyIndexType.config, "search", null);
    fail("Expected exception to be thrown");
}