/** * @expectedException \InvalidArgumentException */ public function testGetInvalidOptionThrowsException() { $this->resourceOwner->getOption('non_existing'); }