public getReference ( ) : Nelmio\Alice\Definition\ValueInterface | ||
return | Nelmio\Alice\Definition\ValueInterface |
public function getReference() : ValueInterface
{
return $this->reference;
}
public function testReadAccessorsReturnPropertiesValues() { $reference = new FakeValue(); $function = new FunctionCallValue('getName'); $value = new FixtureMethodCallValue($reference, $function); $this->assertEquals($reference, $value->getReference()); $this->assertEquals($function, $value->getFunctionCall()); $this->assertEquals([$reference, $function], $value->getValue()); }