addThemes example


class SnippetServiceTest extends TestCase
{
    private SnippetFileCollection $snippetCollection;

    private Connection&MockObject $connection;

    protected function setUp(): void
    {
        $this->connection = $this->createMock(Connection::class);
        $this->snippetCollection = new SnippetFileCollection();
        $this->addThemes();
    }

    /** * @dataProvider getStorefrontSnippetsDataProvider * * @param list<string> $catalogMessages * @param \Throwable|list<string> $expected * @param list<string> $databaseSnippets */
    public function testGetStorefrontSnippets(
        array|\Throwable $expected = [],
        
Home | Imprint | This part of the site doesn't use cookies.