'The I{JSON}-encoded request body is ignored when the given method is
used.
@param method: A HTTP method.
@type method: L{bytes}
@param path: Path to request.
@type path: L{bytes}
@param content_type: Content type to send, by default
I{application/json}.'

def assertNoDecodeLogged(self, logger, method, path='/foo/bar', content_type='application/json'):

    objects = {'foo': 'bar', 'baz': ['quux']}
    request = dummyRequest(method, path, Headers({'content-type': [content_type]}), dumps(objects))
    app = self.Application(logger, None)
    render(app.app.resource(), request)
    self.assertEqual({}, app.kwargs)
