### Question:
ClassesItem extends ProtectedItem { @Override public boolean equals( Object o ) { if ( this == o ) { return true; } if ( o instanceof ClassesItem ) { ClassesItem that = ( ClassesItem ) o; if ( classes == null ) { return that.classes == null; } return classes.equals( that.classes ); } return false; } ClassesItem( ExprNode classes ); ExprNode getClasses(); @Override int hashCode(); @Override boolean equals( Object o ); @Override String toString();  }### Answer:
@Test public void testEqualsNotInstanceOf() throws Exception { assertFalse( classesItemA.equals( UndefinedNode.UNDEFINED_NODE ) ); }
@Test public void testEqualsNull() throws Exception { assertFalse( classesItemA.equals( null ) ); }
@Test public void testNotEqualDiffValue() throws Exception { assertFalse( classesItemA.equals( classesItemC ) ); assertFalse( classesItemC.equals( classesItemA ) ); }