'registrationActive' => true,
'registrationTitle' => 'test',
'registrationSalesChannels' =>
[['id' =>
$this->salesChannel->
getSalesChannel()->
getId()]],
],
], Context::
createDefaultContext());
$request =
new Request();
$request->attributes->
set('customerGroupId',
$this->ids->
get('group'
));
$page =
$this->
getPageLoader()->
load($request,
$this->salesChannel
);
static::
assertSame($this->ids->
get('group'
),
$page->
getGroup()->
getId());
static::
assertSame('test',
$page->
getGroup()->
getRegistrationTitle());
} protected function getPageLoader(): CustomerGroupRegistrationPageLoader
{ return $this->
getContainer()->
get(CustomerGroupRegistrationPageLoader::
class);
}}