protected FakeInstructionExecutor NewFakeInstructionExecutor() { var sut = new FakeInstructionExecutor(); sut.ProcessorAgent = ProcessorAgent = new FakeProcessorAgent(); Registers = ProcessorAgent.Registers; sut.InstructionFetchFinished += (s, e) => { }; return(sut); }
public void Setup() { Sut = new Z80InstructionExecutor(); Sut.ProcessorAgent = ProcessorAgent = new FakeProcessorAgent(); Registers = ProcessorAgent.Registers; Sut.InstructionFetchFinished += (s, e) => { }; Fixture = new Fixture(); }