public void Should_allocate_memory_in_MemoryStack() { var sequence = new Sequence("test"); var stringNode = new VariableNodeString(); stringNode.Value = "Test"; sequence.AddNode(stringNode); var memoryStack = new MemoryStack(); sequence.AllocateAllVariables(memoryStack); Check.That(stringNode.Value) .IsEqualTo(memoryStack.GetValueFromID(stringNode.Id).Value); }