public void PropertiesRequiredInvalid(string id, string companyId, string name, string manufacturerId)
        {
            var vehicle = EntitiesFactory.GetNewVehicleParametrized(id, name, companyId, manufacturerId);

            bool result = vehicle.ValidatePropertiesRequired();

            result.Should().BeFalse();
        }
        public async void SaveInvalid(string id, string companyId, string name, string manufacturerId)
        {
            var vehicle = EntitiesFactory.GetNewVehicleParametrized(id, name, companyId, manufacturerId);

            _vehicleRepository.Save(vehicle).Returns(true);

            bool result = await _vehicleService.Save(vehicle);

            result.Should().BeFalse();
        }
        public async void ImportInvalid(string id, string companyId, string name, string manufacturerId)
        {
            List <Vehicle> vehicleList = EntitiesFactory.GetVehicleList();
            var            vehicle     = EntitiesFactory.GetNewVehicleParametrized(id, name, companyId, manufacturerId);

            vehicleList.Add(vehicle);
            _vehicleRepository.Import(vehicleList).Returns(true);

            bool result = await _vehicleService.Import(vehicleList);

            result.Should().BeFalse();
        }