public void AddToList_TracksInAirspace_MatchTracks_IsCalled()
        {
            var trackstring = "ABC123;10000;10000;1000;20180306000000000";

            _myList = new List <string> {
                trackstring
            };
            _airspace.DefineAirspace(new Track()).ReturnsForAnyArgs(true);
            _driver.DataReady(this, new RawTransponderDataEventArgs(_myList));
            _controller.Received().MatchTracks(Arg.Is <Track>((x) => x.Tag == "ABC123"));
        }
        public void DataReady_IsCalled()
        {
            var listofdata = new List <string>()
            {
                track
            };

            uut.DataReady(this, new RawTransponderDataEventArgs(listofdata));
            fakefactory.Received().Create(track);
        }
        public void Tag_Is_Converted_Correctly()
        {
            var track = "ABC123;30000;40000;10000;20180404121230000";

            list = new List <string> {
                track
            };
            _driver.DataReady(this, new RawTransponderDataEventArgs(list));
            _tracksInAirspace.Received().AddToList(Arg.Is <ITrack>(s => s.Tag == "ABC123"));


            // _driver.DataReady(this, new RawTransponderDataEventArgs(new List<string>{ "ABC123;30000,40000;10000;20180404221230123" }));



            //_display.Received().ShowTrack(Arg.Is<Track>((x) => x.Tag == "ABC123"));
        }