public void Next()
{
ArrayList p = new ArrayList();
p.Add(new NopInstruction());
HaltInstruction hi = new HaltInstruction();
p.Add(hi);
AMProgram program = new AMProgram();
program.Initialize(p);
program.Next();
Assert.AreSame(program.P.Instruction, hi);
}