Beispiel #1
0
        public void UpdateMonitorEventTrackerTest()
        {
            var data = new Data("", 0, 0, 0, "");

            _monitor.GetTracksInConflict().Returns(new List <Data>()); //need to set, otherwise Error
                                                                       // not important the test functionality
            _airspace.Update(new List <Data> {
                data
            });

            _monitor.Received(1).EventTracker(data);
        }
Beispiel #2
0
 public void GetTracksInConflictSizeZero()
 {
     Assert.AreEqual(0, _monitor.GetTracksInConflict().Count);
 }