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