Nelmio\Alice\ObjectBagTest::createFixture PHP Method

createFixture() private method

private createFixture ( string $reference, string $className ) : Nelmio\Alice\FixtureInterface
$reference string
$className string
return Nelmio\Alice\FixtureInterface
    private function createFixture(string $reference, string $className) : FixtureInterface
    {
        $fixtureProphecy = $this->prophesize(FixtureInterface::class);
        $fixtureProphecy->getId()->willReturn($reference);
        $fixtureProphecy->getClassName()->willReturn($className);
        return $fixtureProphecy->reveal();
    }