### Question:
Notification { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((error == null) ? 0 : error.hashCode()); result = prime * result + ((value == null) ? 0 : value.hashCode()); return result; } Notification(Throwable error, T value); static Notification<T> of(T value); @SuppressWarnings("unchecked") static Notification<T> complete(); static Notification<T> error(Throwable error); T value(); boolean hasValue(); boolean isComplete(); boolean isError(); Throwable error(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testHashCode() { assertEquals(963, Notification.of(2).hashCode()); }