Пример #1
0
        public void TestGetRootNode_When_FromAttributeMissing()
        {
            Action act = () => _xmlConversionsReader.GetRootNode(ConversionXmlHelper.FromAttributeMissingXml());

            act.ShouldThrow <XmlException>().WithMessage("Error with attribute 'From' for 'TypeConversions'");
        }