/// <summary>
        /// Laura Simmonds
        /// Created 2017/03/30
        ///
        /// Changes _vehicle status to checked out or checked in
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnUpdateStatus_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (_vehicleManager.CheckVehicleOutIn(_vehicle) == true)
                {
                    MessageBox.Show("The vehicle status has been updated.");
                    this.DialogResult = true;
                }
            }

            catch (Exception ex)
            {
                MessageBox.Show("There was an error updating the vehicle" + ex);
            }
        }
        public void TestCheckVehicleOutIn()
        {
            //arrange
            bool expectedResult = true;

            //act
            testVehicle = new Vehicle();
            //create new object
            testVehicle.Active        = true;
            testVehicle.CheckedOut    = false;
            testVehicle.Color         = "White";
            testVehicle.Make          = "Test Make";
            testVehicle.Model         = "Test Model";
            testVehicle.Mileage       = 123456;
            testVehicle.VehicleTypeID = "Truck";
            testVehicle.VIN           = "123TEST456";
            testVehicle.Year          = "2000";
            testVehicleId             = _vehicleManager.CreateVehicle(testVehicle);
            testVehicle.VehicleID     = testVehicleId;
            bool actualResult = _vehicleManager.CheckVehicleOutIn(testVehicle);

            //assert
            Assert.IsTrue(actualResult == expectedResult);
        }