public void SubjectConfirmation_WrongIdentifier() { Assertion saml20Assertion = AssertionUtil.GetBasicAssertion(); saml20Assertion.Subject.Items = new object[] { String.Empty, 24, new List<object>(1), new Advice() }; Saml20SubjectValidator validator = new Saml20SubjectValidator(); validator.ValidateSubject(saml20Assertion.Subject); }
public void SubjectConfirmation() { Assertion saml20Assertion = AssertionUtil.GetBasicAssertion(); saml20Assertion.Subject.Items = new object[] { }; Saml20SubjectValidator validator = new Saml20SubjectValidator(); validator.ValidateSubject(saml20Assertion.Subject); }