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); }
public bool Equals(XmlForeverBrick b) { return this.Equals((XmlBrick)b); }