@Test
public void testEquality() {

    GuidanceManeuverData data = new GuidanceManeuverData(ICON_ID, DISTANCE, INFO1, INFO2);
    assertThat(mManeuverData, is(data));
    GuidanceManeuverData data1 = new GuidanceManeuverData(0, DISTANCE, INFO1, INFO2);
    assertThat(mManeuverData, is(not(data1)));
    assertThat(null, is(not(mManeuverData)));
    assertThat(mManeuverData.hashCode(), is(data.hashCode()));
    GuidanceManeuverData data2 = new GuidanceManeuverData(ICON_ID, DISTANCE, INFO1, INFO2, NEXT_ROAD_ICON);
    assertThat(data2, is(mManeuverDataWithNextRoadIcon));
    assertThat(mManeuverDataWithNextRoadIcon.hashCode(), is(data2.hashCode()));
}