public void EditTest()
        {
            Vehicles2.Add(Vehicle1);
            string originalModel = Vehicle1.Model;

            Vehicles2.Edit(Vehicle1, Vehicle1.Manufacturer, "X" + Vehicle1.Model, Vehicle1.MakeYear, Vehicle1.RegistrationNumber, Vehicle1.TankCapacity, Vehicle1.ServiceLimit);

            Assert.AreEqual("X" + originalModel, (Vehicles2.List.Last()).Model);
        }
        public void EditTest1()
        {
            Vehicles2.Add(Vehicle1);

            string originalModel = Vehicle1.Model;

            Vehicle1.Model = "X" + Vehicle1.Model;

            Vehicles2.Edit(Vehicle1);

            Assert.AreEqual("X" + originalModel, (Vehicles2.List.Last()).Model);
        }
        public void AddUsingObjectTest()
        {
            Vehicles2.Add(Vehicle1);

            Assert.AreEqual(3, Vehicles2.List.Count);
        }