@Test
public void shouldComputeHashCodeForOnePrimitive() {

    assertThat(HashCode.compute(1), is(not(0)));
    assertThat(HashCode.compute((long) 8), is(not(0)));
    assertThat(HashCode.compute((short) 3), is(not(0)));
    assertThat(HashCode.compute(1.0f), is(not(0)));
    assertThat(HashCode.compute(1.0d), is(not(0)));
    assertThat(HashCode.compute(true), is(not(0)));
}