$ruleId = Uuid::
randomHex();
$this->ruleRepository->
create( [['id' =>
$ruleId, 'name' => 'Demo rule', 'priority' => 1
]],
Context::
createDefaultContext() );
$id = Uuid::
randomHex();
$this->conditionRepository->
create([ [ 'id' =>
$id,
'type'
=> (new IsGuestCustomerRule())->
getName(),
'ruleId' =>
$ruleId,
'value' =>
[ 'isGuest' => true,
],
],
],
$this->context
);
static::
assertNotNull($this->conditionRepository->
search(new Criteria([$id]),
$this->context
)->
get($id));
} public function testThatFilledCompanyInformationMatchesToTrue(): void
{