### Question:
NtpTimeStamp { @Override public boolean equals( Object o ) { if ( this == o ) { return true; } if ( !( o instanceof NtpTimeStamp ) ) { return false; } NtpTimeStamp that = ( NtpTimeStamp ) o; return ( this.seconds == that.seconds ) && ( this.fraction == that.fraction ); } NtpTimeStamp();  NtpTimeStamp( Date date );  NtpTimeStamp( ByteBuffer data ); void writeTo( ByteBuffer buffer ); String toString(); @Override int hashCode(); @Override boolean equals( Object o );  }### Answer:
@Test public void testEqualsNull() throws Exception { assertFalse( ntpTimeStampA.equals( null ) ); assertFalse( ntpTimeStampA1.equals( null ) ); }
@Test public void testNotEqualDiffValue() throws Exception { assertFalse( ntpTimeStampA1.equals( ntpTimeStampC1 ) ); assertFalse( ntpTimeStampC1.equals( ntpTimeStampA1 ) ); }