@Test(expected=RuntimeException.class)
public void testPostTamperedRemoveRawContent() throws Exception {
byte[] raw = { 0, 1, 2, 3, 4, 5 };
MakeRequestClient client = makeSignedFetchClient("o", "v", "http://www.example.com/app");
// Tamper with the body before it hits the service provider
client.setNextFetcher(new HttpFetcher() {
public HttpResponse fetch(HttpRequest request) throws GadgetException {
request.setPostBody(ArrayUtils.EMPTY_BYTE_ARRAY);
request.setHeader("Content-Type", "application/x-www-form-urlencoded");
return serviceProvider.fetch(request);
}