Slide 27
Slide 27 text
Given "Brussels Nord" parking lot has 53 available spots
1
When a car enters "Brussels Nord" parking lot using "FCFS" access
2
Then there are 52 available spots in "Brussels Nord" parking lot
3
/**
* @Given :arg1 parking lot has :arg2 available spots
* @param mixed $arg1
* @param mixed $arg2
*/
public function parkingLotHasAvailableSpots($arg1, $arg2)
{
$parkingLot = new ParkingLot($arg1,$arg2);
$this->parkingLots->save($parkingLot);
}
1
2
3
4
5
6
7
8
9
10