class AppSnippetFileLoaderTest extends TestCase
{ use AppSystemTestBehaviour;
use IntegrationTestBehaviour;
private SnippetFileLoader
$snippetFileLoader;
protected function setUp(): void
{ $this->snippetFileLoader =
new SnippetFileLoader( new MockedKernel([]),
$this->
getContainer()->
get(Connection::
class),
$this->
getContainer()->
get(AppSnippetFileLoader::
class),
$this->
getContainer()->
get(ActiveAppsLoader::
class) );
} public function testLoadSnippetFilesIntoCollectionWithoutSnippetFiles(): void
{ $this->
loadAppsFromDir(__DIR__ . '/_fixtures/Apps/AppWithoutSnippets'
);