Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\FunctionFixtureReferenceParserTest::provideOneElementValues PHP Method

provideOneElementValues() public method

    public function provideOneElementValues()
    {
        (yield 'one value' => [new FakeValue(), new FakeValue()]);
        (yield 'a list of one value' => [new ListValue([new FakeValue()]), new FakeValue()]);
        (yield 'a function fixture reference' => [new ListValue([new FixtureReferenceValue('bob'), new FunctionCallValue('foo')]), new FixtureReferenceValue(new FunctionCallValue('foo'))]);
    }