/** * @expectedException \Exception */ public function testOnRoverMoveFailure() { $rover = $this->getInvalidRover(); $this->planet->onRoverMove($rover); }