def METHOD_NAME(self):
    token = ClientCapabilityToken("AC123", "XXXXX")
    token.allow_client_outgoing("AP123")
    eurl = "scope:client:outgoing?appSid=AP123"
    assert len(token._generate_payload()) == 1
    self.assertIn(eurl, token._generate_payload()["scope"])