public function testCanBeCastedIntoAString()
{
$value = new FixtureMethodCallValue(new FixtureReferenceValue('dummy'), new FunctionCallValue('foo'));
$this->assertEquals('@dummy->foo()', (string) $value);
$value = new FixtureMethodCallValue(new FixtureReferenceValue('dummy'), new FunctionCallValue('foo', ['bar']));
$this->assertEquals("@dummy->foo(array (\n 0 => 'bar',\n))", (string) $value);
}