def METHOD_NAME(self, mock_response_schema_dump):
    """
    Test serialization.
    """
    response_dict = self.response.serialize()
    mock_response_schema_dump.assert_called_once_with(self.response)
    assert response_dict is mock_response_schema_dump.return_value