public void SetPrinter_ValidPrinter_PrinterIsSet()
        {
            IPrinter printer = Substitute.For <IPrinter>();

            _uut.SetPrinter(printer);

            Assert.AreEqual(_uut._printer, printer);
        }
        static void Main(string[] args)
        {
            _receiver = TransponderReceiverFactory.CreateTransponderDataReceiver();

            Printer printer = new Printer();

            AirTrafficMonitor airTrafficMonitoring = new AirTrafficMonitor(_receiver);

            airTrafficMonitoring.SetPrinter(printer);

            while (true)
            {
                Thread.Sleep(1000);
            }
        }