$customer =
new CustomerEntity();
$customer->
setId(Uuid::
randomHex());
return $customer;
} private function createInstance(?CustomerCollection
$collection = null, bool
$isCustomerBoundToSalesChannel = false
): void
{ $collection =
$collection ??
new CustomerCollection();
$this->administrationController =
new AdministrationController( $this->
createMock(TemplateFinder::
class),
$this->
createMock(FirstRunWizardService::
class),
$this->
createMock(SnippetFinderInterface::
class),
[],
$this->
createMock(KnownIpsCollectorInterface::
class),
$this->
createMock(Connection::
class),
$this->
createMock(EventDispatcherInterface::
class),
'',
new StaticEntityRepository([$collection]),
$this->
createMock(EntityRepository::
class),
$this->
createMock(HtmlSanitizer::
class),