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

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