public void TestHandleTrackUpdate_EventSent_ConsoleWritesLineAny() { //TracksUpdatedEventArgs sentArgs = new TracksUpdatedEventArgs(_tracks, _track); _tm.HandleTrack(_track, airspace); _console.Received().WriteLine(Arg.Any <string>()); }
public void TestHandleTrackUpdate_EventSent_ConsoleWritesLineAny() { TracksUpdatedEventArgs sentArgs = new TracksUpdatedEventArgs(_tracks, _track); _tm.RaiseTracksUpdatedEvent += Raise.EventWith(_tm, sentArgs); _console.Received().WriteLine(Arg.Any <string>()); }