@Test public void testHashCode() { Assert.assertTrue( new ModelError( null, null ).hashCode() > 0 ); Assert.assertTrue( new ModelError( null, new Object()).hashCode() > 0 ); Assert.assertTrue( new ModelError( ErrorCode.CMD_CANNOT_HAVE_ANY_PARENT, null ).hashCode() > 0 ); Assert.assertTrue( new ModelError( ErrorCode.CMD_CANNOT_HAVE_ANY_PARENT, new Object()).hashCode() > 0 ); }
@Override public int hashCode() { return super.hashCode(); }
ModelError extends RoboconfError { @Override public int hashCode() { return super.hashCode(); } }
ModelError extends RoboconfError { @Override public int hashCode() { return super.hashCode(); } ModelError( ErrorCode errorCode, Object modelObject );  ModelError( ErrorCode errorCode, Object modelObject, ErrorDetails... details ); }
ModelError extends RoboconfError { @Override public int hashCode() { return super.hashCode(); } ModelError( ErrorCode errorCode, Object modelObject );  ModelError( ErrorCode errorCode, Object modelObject, ErrorDetails... details ); Object getModelObject(); @Override boolean equals( Object obj ); @Override int hashCode(); }
ModelError extends RoboconfError { @Override public int hashCode() { return super.hashCode(); } ModelError( ErrorCode errorCode, Object modelObject );  ModelError( ErrorCode errorCode, Object modelObject, ErrorDetails... details ); Object getModelObject(); @Override boolean equals( Object obj ); @Override int hashCode();  }