@Test
public void testConstructor() {

    EqualsFilter filter = new EqualsFilter("a", "b");
    NotFilter notFilter = new NotFilter(filter);
    assertThat(notFilter.encode()).isEqualTo("(!(a=b))");
}