EmptyResult extends OperationResult { @Override public boolean equals(Object other) { return this == other || other instanceof EmptyResult; }  @Override int hashCode(); @Override boolean equals(Object other); @Override String toString();  }
@Test public void testEquals() { new EqualsTester().addEqualityGroup(new EmptyResult(), new EmptyResult()).testEquals(); }