Inheritance: XmlLoopBeginBrick, IForeverBrick
        public void XmlForeverBrickTest()
        {
            TextReader sr = new StringReader("<brick type=\"ForeverBrick\"></brick>");
            var xRoot = XElement.Load(sr);

            var testObject = new XmlForeverBrick(xRoot);

            var referenceObject = new XmlForeverBrick();

            Assert.AreEqual(referenceObject, testObject);
        }
Ejemplo n.º 2
0
 public bool Equals(XmlForeverBrick b)
 {
     return this.Equals((XmlBrick)b);
 }