assertEquals(0, base.getAccessTokenRemoveCount());
serviceProvider.setConsumerUnauthorized(true);
serviceProvider.setVagueErrors(true);
MakeRequestClient client = makeSignedFetchClient("o", "v", "http://www.example.com/app");
HttpResponse response = client.sendGet(FakeOAuthServiceProvider.RESOURCE_URL);
assertNull(response.getMetadata().get("oauthError"));
String errorText = response.getMetadata().get("oauthErrorText");
checkStringContains("Should return sent request", errorText, "GET /data");
checkStringContains("Should return response", errorText, "HTTP/1.1 401");
checkStringContains("Should return response", errorText, "some vague error");