Exemplo n.º 1
0
        public void XMLFormat_ToString_Test2()
        {
            XMLFormat xml = new XMLFormat(new XMLFormatInitializerTest2());

            String res = xml.ToString();

            Assert.True(true);
        }
Exemplo n.º 2
0
        public void XMLFormat_ToString_Test1()
        {
            XMLFormat xml          = new XMLFormat(new XMLFormatInitializerTest1());
            String    estimatedRes = "<dir name='site' id='0'>\n  <file name='news' id='12'/>\n</dir>\n";

            Boolean isEqual = xml.ToString() == estimatedRes;

            Assert.True(isEqual);
        }