def METHOD_NAME(self, svc, SignedSerializer):
    result = svc.get_unsubscribe_token(
        user_id="acct:user@example.com", type_=Subscriptions.Type.REPLY
    )
    SignedSerializer.return_value.dumps.assert_called_once_with(
        {"type": Subscriptions.Type.REPLY.value, "uri": "acct:user@example.com"}
    )
    assert result == SignedSerializer.return_value.dumps.return_value