public void Can_serialize_lap()
        {
            var lap = TelemetryLapHelper.CreatePopulatedLap(1);

            var serializer = new XmlTelemetryLapRepository();
            serializer.Save(lap);
        }
        private void MigrateXmlLapsToBinary()
        {
            var xmlRepo = new XmlTelemetryLapRepository();
            var xmlFastestLap = xmlRepo.Get(Circuit, _lapType);
            if (xmlFastestLap == null) return;

            xmlFastestLap.LapType = _lapType;
            _fastestLapRepository.Save(xmlFastestLap);
            xmlRepo.Delete(xmlFastestLap);
        }
 public void Can_deserialize_lap()
 {
     var serializer = new XmlTelemetryLapRepository();
     var lap = serializer.Get(Circuit.NullCircuit, "testtype");
 }