/**
* @internal
*
* @covers \Shopware\Administration\Snippet\SnippetFinder
*/
class SnippetFinderTest extends TestCase
{ public function testFindSnippetsFromAppNoSnippetsAdded(): void
{ $snippetFinder =
new SnippetFinder( $this->
getKernelWithNoPlugins(),
$this->
getConnectionMock('en-GB',
[]) );
$snippets =
$snippetFinder->
findSnippets('en-GB'
);
static::
assertArrayNotHasKey('my-custom-snippet-key',
$snippets);
} public function testFindSnippetsFromApp(): void
{ $snippetFinder =
new SnippetFinder( $this->
getKernelWithNoPlugins(),