AutocompletePredictionBuffer implements Result, DataBuffer<AutocompletePrediction> { @NonNull @Override public Status getStatus() { return status; } AutocompletePredictionBuffer(@NonNull Status status,
      @Nullable List<AutocompletePrediction> predictions); @NonNull @Override Status getStatus(); @Override int getCount(); @Nullable @Override AutocompletePrediction get(int index);  }
@Test public void getStatus_shouldReturnStatus() { Status s = buffer.getStatus(); assertThat(s).isEqualTo(status); }