File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
google-http-client/src/test/java/com/google/api/client/http/apache Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 18
18
import com .google .api .client .util .StringUtils ;
19
19
20
20
import junit .framework .TestCase ;
21
+ import org .apache .http .HttpResponse ;
21
22
import org .apache .http .HttpVersion ;
22
23
import org .apache .http .client .HttpClient ;
23
24
import org .apache .http .client .methods .HttpUriRequest ;
@@ -53,7 +54,7 @@ public void testNewDefaultHttpClient() {
53
54
54
55
public void testRequestsWithContent () throws Exception {
55
56
HttpClient mockClient = mock (HttpClient .class );
56
- org . apache . http . HttpResponse mockResponse = mock (org . apache . http . HttpResponse .class );
57
+ HttpResponse mockResponse = mock (HttpResponse .class );
57
58
when (mockClient .execute (any (HttpUriRequest .class ))).thenReturn (mockResponse );
58
59
59
60
ApacheHttpTransport transport = new ApacheHttpTransport (mockClient );
You can’t perform that action at this time.
0 commit comments