public void One_more_level_of_indirection() { var junction = new JoinNode<Customer>(_constantNode); junction.AddSuccessor(_actionNode); var alphaNode = new AlphaNode<Customer>(); alphaNode.AddSuccessor(junction); alphaNode.Activate(_context); _session.Run(); _primaryCalled.IsCompleted.ShouldBeTrue(); }
public void One_more_level_of_indirection() { var junction = new JoinNode <Customer>(_constantNode); junction.AddSuccessor(_actionNode); var alphaNode = new AlphaNode <Customer>(); alphaNode.AddSuccessor(junction); alphaNode.Activate(_context); _session.Run(); _primaryCalled.IsCompleted.ShouldBeTrue(); }
public void Pulling_an_element_through_two_memories_should_merge_properly() { var junction = new JoinNode <Customer>(_constantNode); junction.AddSuccessor(_actionNode); var alphaNodeA = new AlphaNode <Customer>(); alphaNodeA.AddSuccessor(junction); var joinJunction = new JoinNode <Customer>(alphaNodeA); var alphaNodeB = new AlphaNode <Customer>(); alphaNodeB.AddSuccessor(joinJunction); alphaNodeA.Activate(_context); alphaNodeB.Activate(_context); _session.Run(); }
public void Pulling_an_element_through_two_memories_should_merge_properly() { var junction = new JoinNode<Customer>(_constantNode); junction.AddSuccessor(_actionNode); var alphaNodeA = new AlphaNode<Customer>(); alphaNodeA.AddSuccessor(junction); var joinJunction = new JoinNode<Customer>(alphaNodeA); var alphaNodeB = new AlphaNode<Customer>(); alphaNodeB.AddSuccessor(joinJunction); alphaNodeA.Activate(_context); alphaNodeB.Activate(_context); _session.Run(); }