@Test
public void testEquals() {

ring attribute = "(foo=a*b)";
rdcodedFilter originalObject = new HardcodedFilter(attribute);
rdcodedFilter identicalObject = new HardcodedFilter(attribute);
rdcodedFilter differentObject = new HardcodedFilter("(bar=a*b)");
rdcodedFilter subclassObject = new HardcodedFilter(attribute) {
    };
    new EqualsTester(originalObject, identicalObject, differentObject,
            subclassObject);
}