protected function setUp(): void
{ // Ensure that FileCacheFactory has a prefix.
FileCacheFactory::
setPrefix('prefix'
);
} /**
* Tests YAML directory discovery.
*
* @covers ::findAll
*/
public function testDiscovery() { vfsStream::
setup('modules', NULL,
[ 'test_1' =>
[ 'subdir1' =>
[ 'item_1.test.yml' => "id: item1\nname: 'test1 item 1'",
],
'subdir2' =>
[ 'item_2.test.yml' => "id: item2\nname: 'test1 item 2'",
],
],
'test_2' =>
[ 'subdir1' =>
[ 'item_3.test.yml' => "id: item3\nname: 'test2 item 3'",
],