def METHOD_NAME(self):
    call_command(
        "createapplication",
        "confidential",
        "authorization-code",
        "--redirect-uris=http://example.com http://example2.com",
        "--algorithm=RS256",
    )
    app = Application.objects.get()
    self.assertEqual(app.algorithm, "RS256")