'Test RequestDeserializer.deserialize.'

def test_deserialize(self):

    with mock.patch.object(self.deserializer, 'get_action_args') as mock_method:
        mock_method.return_value = {'action': 'create'}
        request = wsgi.Request.blank('/')
        request.headers['Accept'] = 'application/json'
        deserialized = self.deserializer.deserialize(request)
        expected = ('create', {}, 'application/json')
        self.assertEqual(expected, deserialized)
