/** * @expectedException \Ivory\GoogleMap\Exception\EventException * @expectedExceptionMessage The capture property of an event must be a boolean value. */ public function testCaptureWithInvalidValue() { $this->event->setCapture('foo'); }