public void Patch_Application_Test()
        {
            test.createApplication();

            var response = test.client.PatchApplication(test.application.id, new Dictionary <string, object> {
                {
                    "application", new Dictionary <string, object> {
                        {
                            "passwordlessConfiguration", new Dictionary <string, object> {
                                { "enabled", false }
                            }
                        }, {
                            "registrationConfiguration", new Dictionary <string, object> {
                                { "enabled", true }
                            }
                        }
                    }
                }
            });

            test.assertSuccess(response);

            response = test.client.RetrieveApplication(test.application.id);
            Assert.IsFalse(response.successResponse.application.passwordlessConfiguration.enabled);
            Assert.IsTrue(response.successResponse.application.registrationConfiguration.enabled);
        }
        public void Retrieve_Application_Test()
        {
            test.createApplication()
            .callClient(client => client.RetrieveApplication(test.application.id));

            var response = test.client.RetrieveApplication(test.application.id);

            Assert.AreEqual("CSharp Client Test", response.successResponse.application.name);
            test.assertSuccess(response);
        }