new UserDefinition());
/** @var StaticEntityRepository<UserRecoveryCollection> $recoveryRepository */
$recoveryRepository =
new StaticEntityRepository([ new UserRecoveryCollection([$recoveryEntity]),
new UserRecoveryCollection([$recoveryEntity]),
],
new UserRecoveryDefinition());
/** @var StaticEntityRepository<SalesChannelCollection> $salesChannelRepository */
$salesChannelRepository =
new StaticEntityRepository([ new SalesChannelCollection([]),
],
new SalesChannelDefinition());
$this->dispatcher
->
expects(static::
never()) ->
method('dispatch'
);
$service =
new UserRecoveryService( $recoveryRepository,
$userRepository,
$this->router,
$this->dispatcher,
$this->salesChannelContextService,