MakeRequestClient client = makeNonSocialClient("owner", "owner", GADGET_URL_HEADER);
HttpResponse response = client.sendGet(FakeOAuthServiceProvider.RESOURCE_URL);
assertEquals("", response.getResponseAsString());
client.approveToken("user_data=hello-oauth");
response = client.sendGet(FakeOAuthServiceProvider.RESOURCE_URL);
assertEquals("User data is hello-oauth", response.getResponseAsString());
String aznHeader = response.getHeader(FakeOAuthServiceProvider.AUTHZ_ECHO_HEADER);
assertNotNull(aznHeader);
Assert.assertNotSame("azn header: " + aznHeader, aznHeader.indexOf("OAuth"), -1);