### Question:
BasicValue implements Value { @Override public int hashCode() { return type == null ? 0 : type.hashCode(); } BasicValue(final Type type); Type getType(); @Override int getSize(); boolean isReference(); @Override boolean equals(final Object value); @Override int hashCode(); @Override String toString(); static final BasicValue UNINITIALIZED_VALUE; static final BasicValue INT_VALUE; static final BasicValue FLOAT_VALUE; static final BasicValue LONG_VALUE; static final BasicValue DOUBLE_VALUE; static final BasicValue REFERENCE_VALUE; static final BasicValue RETURNADDRESS_VALUE; }### Answer:
@Test public void testHashCode() { assertEquals(0, BasicValue.UNINITIALIZED_VALUE.hashCode()); assertNotEquals(0, BasicValue.INT_VALUE.hashCode()); }