Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
rpodwika committed Jun 15, 2016
2 parents 09e64e4 + d259de5 commit 6c18b94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Behavioral/Proxy/ProxyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,10 @@ public function testDrunkDriverCannotDriveCar(Driver $driver)
{
$car = new ProxyCar();
$this->assertSame('Driver cannot drive', $car->drive($driver));

$driver->setIsDrunk(false);
$this->assertFalse($driver->isDrunk());
$driver->setName($driver->getName() . '-drunk');
$this->testSoberDriverCanDriveCar($driver);
}
}

0 comments on commit 6c18b94

Please sign in to comment.