コード例 #1
0
            public override void AssertThat(AuthControllerTestRepository authControllerTestRepository, HttpResponseMessage acualRessult)
            {
                _testOutputHelper.WriteLine("10 AssertThat");
                DeauthenticationUtils.Assert01And02And10To21(authControllerTestRepository, acualRessult);
                var result = JObject.Parse(acualRessult.Content.ReadAsStringAsync().Result);

                Assert.Equal("certification_required", result["errors"]["ClientCertificationBase64"].First().ToString());
            }
コード例 #2
0
            public override void AssertThat(AuthControllerTestRepository authControllerTestRepository, HttpResponseMessage acualRessult)
            {
                _testOutputHelper.WriteLine("21 AssertThat");
                DeauthenticationUtils.Assert01And02And10To21(authControllerTestRepository, acualRessult);
                var result = JObject.Parse(acualRessult.Content.ReadAsStringAsync().Result);

                Assert.Equal("msisdn_invalid_length", result["errors"]["SimMsisdn"].First().ToString());
            }
コード例 #3
0
 public override void AssertThat(AuthControllerTestRepository authControllerTestRepository, HttpResponseMessage acualRessult)
 {
     _testOutputHelper.WriteLine("09 AssertThat");
     DeauthenticationUtils.Assert09(authControllerTestRepository, acualRessult, _deauthenticationRequest);
 }