def METHOD_NAME(self, mock_transaction_request_schema_dump):
    """
    Test serialization.
    """
    transaction_request_dict = self.transaction_request.serialize()
    mock_transaction_request_schema_dump.assert_called_once_with(
        self.transaction_request
    )
    assert (
        transaction_request_dict
        is mock_transaction_request_schema_dump.return_value
    )