public function testDenormalizesListToBuildFixtures()
{
$className = 'Nelmio\\Alice\\Entity\\User';
$fixtures = $expected = (new FixtureBag())->with(new TemplatingFixture(new SimpleFixtureWithFlags(new SimpleFixture('user_alice', $className, SpecificationBagFactory::create(), 'alice'), new FlagBag('user_alice'))))->with(new TemplatingFixture(new SimpleFixtureWithFlags(new SimpleFixture('user_bob', $className, SpecificationBagFactory::create(), 'bob'), new FlagBag('user_bob'))));
$reference = 'user_{alice, bob}';
$specs = ['username' => '<name()>'];
$flags = new FlagBag('');
$denormalizer = new NullListNameDenormalizer();
$actual = $denormalizer->denormalize($fixtures, $className, $reference, $specs, $flags);
$this->assertSame($expected, $actual);
}