public void SetUp() { theChain = new BehaviorChain(); node1 = new StubNode(); node2 = new StubNode(); node3 = new StubNode(); theChain.AddToEnd(node1); theChain.AddToEnd(node2); theChain.AddToEnd(node3); theChain.ShouldHaveTheSameElementsAs(node1, node2, node3); }