public function testReturnReference()
{
$method = new php\method(uniqid());
$this->assert->object($method->returnReference())->isIdenticalTo($method);
$method = new php\method('__construct');
$this->assert->exception(function () use($method) {
$method->returnReference();
})->isInstanceOf('mageekguy\\atoum\\exceptions\\logic')->hasMessage('Constructor can not return a reference');
}