public void InsertMotorbikeTest()
        {
            VehicleParkCommands testObject = new VehicleParkCommands();

            //If the vehicle data is null
            testObject.InsertMotorbike(null, "1", "1", "2015-04-04T10:30:00.0000000");
        }
        public void InsertMotorbikeTest7()
        {
            VehicleParkCommands testObject = new VehicleParkCommands();

            testObject.SetupPark("3", "3");
            //If parameters are null
            testObject.InsertMotorbike(new VehicleModels.Motorbike("VT2222VT", "Joe Doe", "4"), "two", "tree", "i have no watch");
        }
        public void InsertMotorbikeTest5()
        {
            VehicleParkCommands testObject = new VehicleParkCommands();

            testObject.SetupPark("3", "3");
            //If the data is not in valid format
            testObject.InsertMotorbike(new VehicleModels.Motorbike("VT2222VT", "Joe Doe", "4"), "1", "1", "04-04-2015");
        }
        public void InsertMotorbikeTest2()
        {
            VehicleParkCommands testObject = new VehicleParkCommands();

            testObject.SetupPark("3", "3");
            //If the place number is bigger than the existing one
            testObject.InsertMotorbike(new VehicleModels.Motorbike("VT2222VT", "John Doe", "3"), "1", "33", "2015-04-04T10:30:00.0000000");
        }
        public void InsertMotorbikeTest4()
        {
            VehicleParkCommands testObject = new VehicleParkCommands();

            testObject.SetupPark("3", "3");
            //If the object data is whitespace
            //This will return a handled exception, but there are checks before creating the object in the code
            testObject.InsertMotorbike(new VehicleModels.Motorbike("", "", ""), "1", "1", "2015-04-04T10:30:00.0000000");
        }
        public void InsertMotorbikeTest3()
        {
            VehicleParkCommands testObject = new VehicleParkCommands();

            testObject.SetupPark("3", "3");
            //If the license plate is not valid
            //This will return a handled exception, but there are checks before creating the object in the code
            testObject.InsertMotorbike(new VehicleModels.Motorbike("VT222V", "John Doe", "3"), "1", "1", "2015-04-04T10:30:00.0000000");
        }