/** * @expectedException \InvalidArgumentException */ public function testNonExistentGetAttribute() { $class = new PhpClass(); $class->getAttribute('nope'); }
/** * @expectedException \InvalidArgumentException */ public function testNonExistentGetAttribute() { $class = new PhpClass(); $class->getAttribute('nope'); }