AutocompletePrediction { public CharSequence getSecondaryText(@Nullable CharacterStyle characterStyle) { throw new RuntimeException("Not implemented yet"); } AutocompletePrediction(@Nullable String id, @Nullable String text); CharSequence getFullText(@Nullable CharacterStyle characterStyle); CharSequence getPrimaryText(@Nullable CharacterStyle characterStyle); CharSequence getSecondaryText(@Nullable CharacterStyle characterStyle); @Nullable String getPlaceId(); @Nullable List<Integer> getPlaceTypes();  }
@Test(expected = RuntimeException.class) public void getSecondaryText_shouldThrowException() { prediction.getSecondaryText(null); }