/** * @test */ public function createAReferenceMethod() { $method = new Stagehand_PHP_Class_Method('method'); $referenceMethod = new Stagehand_PHP_Class_Method('referenceMethod'); $referenceMethod->setReference(); $this->assertFalse($method->isReference()); $this->assertTrue($referenceMethod->isReference()); }