### Question:
GraphEdge implements Comparable<GraphEdge> { public boolean equals(GraphEdge other) { return (x.equals(other.x) && y.equals(other.y) && value.equals(other.value)); } GraphEdge(Object x, Object y, Object value); Object getX(); Object getY(); Object getValue(); boolean equals(GraphEdge other); @Override int hashCode(); @Override String toString(); @Override boolean equals(Object other); @Override int compareTo(GraphEdge other);  }### Answer:
@Test public void equalsInputNotNullOutputFalse() { final GraphEdge objectUnderTest = new GraphEdge(-301_989_904, 134_217_728, null); final GraphEdge other = new GraphEdge(-301_989_904, null, -2_147_483_647); final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(false, retval); }
@Test public void equalsInputNotNullOutputFalse2() { final GraphEdge objectUnderTest = new GraphEdge(-301_989_890, null, null); final GraphEdge other = new GraphEdge(null, -2_147_483_647, -2_147_483_647); final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(false, retval); }
@Test public void equalsInputNotNullOutputFalse3() { final GraphEdge objectUnderTest = new GraphEdge(-303_054_864, 134_217_728, null); final GraphEdge other = new GraphEdge(-303_054_864, 0, -2_147_483_647); final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(false, retval); }
@Test public void equalsInputNotNullOutputFalse4() { final GraphEdge objectUnderTest = new GraphEdge(0, -536_870_913, null); final GraphEdge other = new GraphEdge(null, 1_610_612_735, null); final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(false, retval); }
@Test public void equalsInputNotNullOutputFalse5() { final GraphEdge objectUnderTest = new GraphEdge(0, -536_870_913, 0); final GraphEdge other = new GraphEdge(0, -536_870_913, null); final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(false, retval); }
@Test public void equalsInputNotNullOutputFalse6() { final GraphEdge objectUnderTest = new GraphEdge(0, -306_783_379, null); final GraphEdge other = new GraphEdge(0, null, null); final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(false, retval); }
@Test public void equalsInputNotNullOutputFalse7() { final GraphEdge objectUnderTest = new GraphEdge(0, -536_870_913, null); final GraphEdge other = new GraphEdge(0, 1_610_612_735, null); final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(false, retval); }
@Test public void equalsInputNullOutputFalse() { final GraphEdge objectUnderTest = new GraphEdge(null, null, null); final Object other = null; final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(false, retval); }
@Test public void equalsInputNotNullOutputTrue() { final GraphEdge objectUnderTest = new GraphEdge(0, -536_870_913, 0); final GraphEdge other = new GraphEdge(0, -536_870_913, 0); final boolean retval = objectUnderTest.equals(other); Assert.assertEquals(true, retval); }