public void ReadSignedInfo(DSigSerializerTheoryData theoryData) { var context = TestUtilities.WriteHeader($"{this}.ReadSignedInfo", theoryData); try { var signedInfo = theoryData.Serializer.ReadSignedInfo(XmlUtilities.CreateDictionaryReader(theoryData.Xml)); theoryData.ExpectedException.ProcessNoException(context); IdentityComparer.AreSignedInfosEqual(signedInfo, theoryData.SignedInfo, context); } catch (Exception ex) { theoryData.ExpectedException.ProcessException(ex, context); } TestUtilities.AssertFailIfErrors(context); }