'The I{JSON}-encoded request body is decoded into Python objects and
passed as keyword arguments to the decorated function even if the
content type is not I{{application/json}}.'

@validateLogging(_assertRequestLogged('/foo/bar', 'POST'))
def test_decodeNoContentType(self, logger):

    objects = {'foo': 'bar', 'baz': ['quux']}
    request = dummyRequest('POST', '/foo/bar', Headers({}), dumps(objects))
    app = self.Application(logger, None)
    render(app.app.resource(), request)
    self.assertEqual(objects, app.kwargs)
