public void DecodeTransData_IsNOTInAirspace_CalculateVelocityIsCalled(string tag, string x, string y, string altitude, string dateTime) { List <string> list = new List <string>() { tag + ';' + x + ';' + y + ';' + altitude + ';' + dateTime }; _uut.DecodeTransData(new object(), new RawTransponderDataEventArgs(list)); List <string> list2 = new List <string>() { tag + ';' + "12000" + ';' + y + ';' + altitude + ';' + dateTime }; _uut.DecodeTransData(new object(), new RawTransponderDataEventArgs(list2)); _track.DidNotReceive().CalculateVelocity(Arg.Any <ITrack>(), Arg.Any <ITrack>()); }
public void Update_InvalidTrack_UpdateNotCalled() { _track1.Tag = ""; _uut.Update(_track1); _track1.DidNotReceive().Update(_track1); }