/** * @expectedException \OutOfBoundsException * @expectedExceptionMessage foobar */ public function testGetMethodFailsIfNotFound() { $this->class->getMethod('foobar'); }
/** * @expectedException \OutOfBoundsException * @expectedExceptionMessage foobar */ public function testGetMethodFailsIfNotFound() { $this->class->getMethod('foobar'); }