@Test
public void testUIInit() {

    final TextView distanceView = mGuidanceNextManeuverView.findViewById(R.id.nextManeuverDistance);
    final TextView streetName = mGuidanceNextManeuverView.findViewById(R.id.afterNextManeuverStreetName);
    assertEquals(View.GONE, mGuidanceNextManeuverView.getVisibility());
    GuidanceNextManeuverData data = createData(mIconId, mDistance, mStreetName);
    // create proper data to see if everything is fine.
    mGuidanceNextManeuverView.setNextManeuverData(data);
    // since distance and icon are correct, panel should be visible.
    assertEquals(mGuidanceNextManeuverView.getVisibility(), View.VISIBLE);
    // verify the data
    assertThat(distanceView.getText(), is(equalTo(mDistance + " m")));
    assertThat(streetName.getText(), is(equalTo(mStreetName)));
}