/** * @return void * @covers \pdepend\reflection\api\StaticReflectionMethod * @group reflection * @group reflection::api * @group unittest * @expectedException \ReflectionException */ public function testInvokeThrowsNotSupportedException() { $method = new StaticReflectionMethod('foo', '', 0); $method->invoke($this, 42); }