Nelmio\Alice\Definition\Value\FixtureMethodCallValue::getFunctionCall PHP Method

getFunctionCall() public method

public getFunctionCall ( ) : FunctionCallValue
return FunctionCallValue
    public function getFunctionCall() : FunctionCallValue
    {
        return $this->function;
    }

Usage Example

 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());
 }