/**
  * @covers \ProxyManager\Generator\MagicMethodGenerator::__construct
  */
 public function testGeneratesCorrectByValReturnValue()
 {
     $reflection = new ReflectionClass('ProxyManagerTestAsset\\ClassWithMagicMethods');
     $magicMethod = new MagicMethodGenerator($reflection, '__get', array('name'));
     $this->assertFalse($magicMethod->returnsReference());
 }