@Test
public void testEquals() {

    EqualsFilter filter = new EqualsFilter("a", "b");
    NotFilter originalObject = new NotFilter(filter);
    NotFilter identicalObject = new NotFilter(filter);
    NotFilter differentObject = new NotFilter(new EqualsFilter("a", "a"));
    NotFilter subclassObject = new NotFilter(filter) {
    };
    new EqualsTester(originalObject, identicalObject, differentObject,
            subclassObject);
}