def METHOD_NAME(self, mock_get_integration):
    discord_request = self.mock_request()
    mock_get_integration.return_value = RpcIntegration(
        id=1,
        provider="discord",
        external_id="guild-id",
        name="Cool server",
        metadata={},
        status=1,
    )
    discord_request.validate_integration()
    assert mock_get_integration.call_count == 1
    assert discord_request.integration is not None