public void Should_add_car_into_parkingLotPlaces_when_AddCar()
        {
            // given
            var fakeParkingLot = new FakeParkingLot(0);
            var car            = new Car();

            // when
            fakeParkingLot.AddCar(car);
            var isCarAdded = fakeParkingLot.HasCar(car);

            // then
            Assert.True(isCarAdded);
        }
        public void Should_get_car_from_parkingLotPlaces_when_GetCar_by_carId()
        {
            // given
            var fakeParkingLot = new FakeParkingLot(0);
            var expectedCar    = new Car();

            // when
            fakeParkingLot.AddCar(expectedCar);
            var actualCar = fakeParkingLot.GetCar(0);

            // then
            Assert.Equal(expectedCar, actualCar);
        }
        public void Should_return_1_when_check_carId_after_added_a_car()
        {
            // given
            var fakeParkingLot = new FakeParkingLot(0);
            var car            = new Car();

            // when
            fakeParkingLot.AddCar(car);
            var carId = fakeParkingLot.CarId;

            // then
            Assert.Equal(1U, carId);
        }
        public void Should_delete_pair_of_carId_car_car_from_parkingLotPlaces_when_GetCar_by_carId()
        {
            // given
            var fakeParkingLot = new FakeParkingLot(0);
            var expectedCar    = new Car();

            // when
            fakeParkingLot.AddCar(expectedCar);
            var actualCar        = fakeParkingLot.GetCar(0);
            var isCarStillExists = fakeParkingLot.HasCarId(0);

            // then
            Assert.False(isCarStillExists);
        }