Search { public ResponseStatus getResponseStatus() { return response.getResponseStatus(); } Search(Request request, Response response); Request getRequest(); Response getResponse(); boolean isRejected(); List<String> getSimilarNames(); boolean responseMessageAppliesTo(String streetName); ResponseStatus getResponseStatus(); int getLevel(); boolean lessThanOrEqualTo(int level); @Override String toString();  }
@Test public void testGetResponseStatus() { assertThat(search.getResponseStatus()).isSameAs(search.getResponse().getResponseStatus()); }