@Test
public void testUiInit() {

    final View container = mCurrentGuidanceSpeedView.findViewById(R.id.guidance_current_speed_container);
    final TextView speedValueView = mCurrentGuidanceSpeedView.findViewById(R.id.guidance_current_speed_value);
    final TextView speedUnitView = mCurrentGuidanceSpeedView.findViewById(R.id.guidance_current_speed_unit);
    assertThat(container.getVisibility(), is(View.VISIBLE));
    assertThat(speedValueView.getText().toString(), is(getString(R.string.msdkui_value_not_available)));
    assertThat(speedUnitView.getText().toString(), is(""));
    GuidanceSpeedData data = new GuidanceSpeedData(VELOCITY, SPEED_LIMIT);
    mCurrentGuidanceSpeedView.setCurrentSpeedData(data);
    assertThat(speedValueView.getText().toString(),
            is(String.valueOf(SpeedFormatterUtil.format(VELOCITY, UnitSystem.METRIC))));
}