Hey. I’m developing a plugin using the flex template and wanted to write some tests with PHPUnit.
I’m having problem with mocking repositories. Wanted to follow this guide in docks, as it looks pretty simple.
Sadly the class Shopware\Tests\Unit\Common\Stubs\DataAbstractionLayer\StaticEntityRepository
seems to be not implemented in this template.
Ist there a way to use it on flex? Or do I need to use the PHPUnit mocks, like in the first example in the docs?