public void testEntityNodeList() { Entity entity = new Entity(); Id id = new Id(); id.Value = 1; entity.Add(id); Name name = new Name(); name.Value = "bob"; entity.Add(name); NodeList <TestNode> nodeList = Ash.GetNodeList <TestNode>(); Assert.AreEqual(nodeList.Count, 0); Ash.AddEntity(entity); Assert.AreEqual(nodeList.Count, 1); Ash.RemoveEntity(entity); Assert.AreEqual(nodeList.Count, 0); }