public void SendEventDebugThreadSendsToEventCallback() { var evnt = new TestEvent(5); handler.SendEvent(evnt, program, thread); var id = Arg.Any <Guid>(); callback.Received(1).Event(debugEngine, null, program, thread, evnt, ref id, 5); var output = logSpy.GetOutput(); Assert.That(output, Does.Contain(programName)); Assert.That(output, Does.Contain(programId.ToString())); Assert.That(output, Does.Contain(threadName)); Assert.That(output, Does.Contain(threadId.ToString())); }