ParsingError extends RoboconfError { @Override public int hashCode() { return super.hashCode(); } ParsingError( ErrorCode errorCode, File file, int line );  ParsingError( ErrorCode errorCode, File file, int line, ErrorDetails... details ); int getLine(); File getFile(); @Override boolean equals( Object obj ); @Override int hashCode();  }
@Test public void testHashCode() { Assert.assertTrue( new ParsingError( null, null, 1 ).hashCode() > 0 ); Assert.assertTrue( new ParsingError( ErrorCode.CMD_CANNOT_HAVE_ANY_PARENT, null, 5 ).hashCode() > 0 ); }