/** * @expectedException \Ivory\GoogleMap\Exception\DirectionsException * @expectedExceptionMessage The directions request sensor flag must be a boolean value. */ public function testSensorWithInvalidValue() { $this->directionsRequest->setSensor('foo'); }