static::
assertCount(2,
$collection);
$snippetFile =
$collection->
getSnippetFilesByIso('de-DE'
)[0
];
static::
assertEquals('storefront.de-DE',
$snippetFile->
getName());
static::
assertEquals( __DIR__ . '/_fixtures/ShopwareBundleWithSnippets/Resources/snippet/storefront.de-DE.json',
$snippetFile->
getPath() );
static::
assertEquals('de-DE',
$snippetFile->
getIso());
static::
assertEquals('Shopware',
$snippetFile->
getAuthor());
static::
assertFalse($snippetFile->
isBase());
$snippetFile =
$collection->
getSnippetFilesByIso('en-GB'
)[0
];
static::
assertEquals('storefront.en-GB',
$snippetFile->
getName());
static::
assertEquals( __DIR__ . '/_fixtures/ShopwareBundleWithSnippets/Resources/snippet/storefront.en-GB.json',
$snippetFile->
getPath() );
static::
assertEquals('en-GB',
$snippetFile->
getIso());
static::
assertEquals('Shopware',
$snippetFile->
getAuthor());
static::
assertEquals('ShopwareBundleWithSnippets',
$snippetFile->
getTechnicalName());
static::
assertFalse($snippetFile->
isBase());
}