@Test
@SuppressWarnings({"ObjectEqualsNull", "IncompatibleEquals"})

public void testEquals()
{
    ItemComparator ic = new ItemComparator("test", "one", Item.ANY, true);
    ItemComparator target = null;
    assertFalse("testEquals 0", ic.equals(null));
    assertFalse("testEquals 1", ic.equals("test one"));
    target = new ItemComparator("test1", "one", Item.ANY, true);
    assertFalse("testEquals 2", ic.equals(target));
    target = new ItemComparator("test", "one1", Item.ANY, true);
    assertFalse("testEquals 3", ic.equals(target));
    target = new ItemComparator("test", "one", "es", true);
    assertFalse("testEquals 4", ic.equals(target));
    target = new ItemComparator("test1", "one", Item.ANY, false);
    assertFalse("testEquals 5", ic.equals(target));
    target = new ItemComparator("test", "one", Item.ANY, true);
    assertTrue("testEquals 6", ic.equals(target));
}