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

getValue() public method

public getValue ( ) : array
return array
    public function getValue() : array
    {
        return [$this->reference, $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());
 }