Given a parkingManager manages 1 parkingBoy and 1 parkingLots And the parkingBoy has 1 parkingLots with available slots When park a car Should succeed
Given a parkingBoy having 2 parkingLots, And the first parkingLot's vacancy rate is greater than the second, When park a car Should succeed and park into the first parkingLots
Given a parkingBoy having 2 parkingLots, And the first parkingLot's available slots is greater than the second. When park a car Should succeed and park into the first parkingLots
Given a com.thoughtworks.parkinglots.ParkingBoy having 2 parkingLots that have available slots When park a car Should succeed
Given a com.thoughtworks.parkinglots.ParkingBoy having 2 parkingLots and both are full When park a car Should fail
Given a com.thoughtworks.parkinglots.ParkingBoy having 2 parkingLots that have one car parked When unpark with valid ticket Should succeed
Given a com.thoughtworks.parkinglots.ParkingBoy having 2 parkingLots When unpark with invalid ticket Should fail
Given a parkingLots have available slots When park a car Should succeed
Given a parkingLots is full When park a car Should fail
Given a parkingLots have one car parked When get car with valid ticket Should succeed
Given a parkingLots have one car parked When get car with invalid ticket Should fail