public void TestEqualityNonDomNodeAdapter() { DomNodeType type = new DomNodeType("type"); type.Define(new ExtensionInfo <NonDomNodeAdapter>()); DomNode node = new DomNode(type); NonDomNodeAdapter test = node.GetAdapter(typeof(NonDomNodeAdapter)) as NonDomNodeAdapter; Assert.True(node.Equals(test)); }
public void TestEqualityNonDomNodeAdapter() { DomNodeType type = new DomNodeType("type"); type.Define(new ExtensionInfo<NonDomNodeAdapter>()); DomNode node = new DomNode(type); NonDomNodeAdapter test = node.GetAdapter(typeof(NonDomNodeAdapter)) as NonDomNodeAdapter; Assert.True(node.Equals(test)); }