private EntityRepository
$appRepository;
private MockObject&Executor
$executor;
protected function setUp(): void
{ $container =
$this->
getContainer();
$this->appRepository =
$container->
get('app.repository'
);
$this->executor =
$this->
createMock(Executor::
class);
$this->context = Context::
createDefaultContext();
$this->adminExtensionApiController =
new AdminExtensionApiController( $this->executor,
$container->
get(ShopIdProvider::
class),
$this->appRepository,
$container->
get(QuerySigner::
class) );
} /**
* @dataProvider providerRunAction
*/
public function testRunAction(string
$appName, ?string
$targetUrl = null, ?array
$hosts =
[]): void
{