@Test
public void testEquality() {

    GuidanceSpeedData data1 = new GuidanceSpeedData(VELOCITY, SPEED_LIMIT);
    assertThat(data1, is(mCurrentSpeedData));
    final double speed = 70;
    GuidanceSpeedData data2 = new GuidanceSpeedData(speed, SPEED_LIMIT);
    assertThat(mCurrentSpeedData, is(not(data2)));
    assertThat(null, is(not(mCurrentSpeedData)));
    assertThat(mCurrentSpeedData.hashCode(), is(data1.hashCode()));
}