Searched refs:postResponse (Results 1 – 1 of 1) sorted by relevance
120 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod() local121 assertNotNull(postResponse); in shouldReturnRequestsByRule_AnyMethod()122 assertThat(postResponse.getStatusLine().getStatusCode(), equalTo(200)); in shouldReturnRequestsByRule_AnyMethod()123 …assertThat(Strings.fromStream(postResponse.getEntity().getContent()), equalTo("a cheery response b… in shouldReturnRequestsByRule_AnyMethod()138 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() local139 InputStream postResponseStream = postResponse.getEntity().getContent(); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()