public function testIncludeStatementCanBeNull()
{
$mainFile = self::$dir . '/main.yml';
// needs to be a real file to be cached
$parsedMainFileContent = ['include' => null, 'Nelmio\\Alice\\Model\\User' => ['user_main' => []]];
$expected = ['Nelmio\\Alice\\Model\\User' => ['user_main' => []]];
$parserProphecy = $this->prophesize(ParserInterface::class);
$parserProphecy->parse(Argument::any())->shouldNotBeCalled();
/* @var ParserInterface $parser */
$parser = $parserProphecy->reveal();
$fileLocatorProphecy = $this->prophesize(FileLocatorInterface::class);
$fileLocatorProphecy->locate(Argument::any())->shouldNotBeCalled();
/* @var FileLocatorInterface $fileLocator */
$fileLocator = $fileLocatorProphecy->reveal();
$processor = new DefaultIncludeProcessor($fileLocator);
$actual = $processor->process($parser, $mainFile, $parsedMainFileContent);
$this->assertSame($expected, $actual);
}