static::
assertNotEmpty($actualEvents, 'Event with name "' .
$event['name'
] . '" not found'
);
static::
assertCount(1,
$actualEvents);
static::
assertEquals($event,
$actualEvents[0
]);
} } public function testBundlePaths(): void
{ $kernelMock =
$this->
createMock(Kernel::
class);
$packagesMock =
$this->
createMock(Packages::
class);
$eventCollector =
$this->
createMock(FlowActionCollector::
class);
$infoController =
new InfoController( $this->
createMock(DefinitionService::
class),
new ParameterBag([ 'kernel.shopware_version' => 'shopware-version',
'kernel.shopware_version_revision' => 'shopware-version-revision',
'shopware.admin_worker.enable_admin_worker' => 'enable-admin-worker',
'shopware.admin_worker.enable_queue_stats_worker' => 'enable-queue-stats-worker',
'shopware.admin_worker.enable_notification_worker' => 'enable-notification-worker',
'shopware.admin_worker.transports' => 'transports',
'shopware.filesystem.private_allowed_extensions' =>
['png'
],
'shopware.html_sanitizer.enabled' => true,
]),