@Test
public void testUIWhenDataIsInvalid() {

    final TextView eta = mEstimatedArrivalView.findViewById(R.id.eta);
    final TextView distance = mEstimatedArrivalView.findViewById(R.id.distance);
    final TextView duration = mEstimatedArrivalView.findViewById(R.id.duration);
    GuidanceEstimatedArrivalViewData data = new GuidanceEstimatedArrivalViewData(null, null, null);
    mEstimatedArrivalView.setEstimatedArrivalData(data);
    assertEquals(eta.getVisibility(), View.VISIBLE);
    assertEquals(distance.getVisibility(), View.VISIBLE);
    assertEquals(duration.getVisibility(), View.VISIBLE);
    assertThat(eta.getText().toString(), is(getString(R.string.msdkui_value_not_available)));
    assertThat(distance.getText().toString(), is(getString(R.string.msdkui_value_not_available)));
    assertThat(duration.getText().toString(), is(getString(R.string.msdkui_value_not_available)));
}