public void SaveAndLoad() { ConcreteTreeNode t = _runner.CreateNode<ConcreteTreeNode>(); t.AddChild(_runner.CreateNode<ConcreteTreeNode>()); t.AddChild(_runner.CreateNode<ConcreteTreeNode>()); _runner = new RelayTreeRunner(_relay, "nodes"); t = _runner.GetNode<ConcreteTreeNode>(t.objectId); Assert.NotNull(t); Assert.AreEqual(2, t.childCount); }
public void SaveAndLoad() { ConcreteTreeNode t = _runner.CreateNode <ConcreteTreeNode>(); t.AddChild(_runner.CreateNode <ConcreteTreeNode>()); t.AddChild(_runner.CreateNode <ConcreteTreeNode>()); _runner = new RelayTreeRunner(_relay, "nodes"); t = _runner.GetNode <ConcreteTreeNode>(t.objectId); Assert.NotNull(t); Assert.AreEqual(2, t.childCount); }
public void Setup() { _relay = new RelayTwo(); _runner = new RelayTreeRunner(_relay, "nodes"); }
public void Setup() { _relay = new RelayTwo(); _runner = new RelayTreeRunner(_relay, "nodes"); }