getOrderCustomers example

->getEntities();

        static::assertContains($this->ids->get('10000')$customers->getIds());
        static::assertContains($this->ids->get('10001')$customers->getIds());
        static::assertContains($this->ids->get('10002')$customers->getIds());

        $customerGuestWithOrder = $customers->get($this->ids->get('10000'));
        $customerGuest = $customers->get($this->ids->get('10001'));
        $customer = $customers->get($this->ids->get('10002'));

        static::assertInstanceOf(CustomerEntity::class$customerGuestWithOrder);
        static::assertNotNull($customerGuestWithOrder->getOrderCustomers());
        static::assertCount(1, $customerGuestWithOrder->getOrderCustomers());
        static::assertTrue($customerGuestWithOrder->getGuest());

        static::assertInstanceOf(CustomerEntity::class$customerGuest);
        static::assertTrue($customerGuest->getGuest());

        static::assertInstanceOf(CustomerEntity::class$customer);
        static::assertFalse($customer->getGuest());
    }

    public function testExecuteWithConfirm(): void
    {
Home | Imprint | This part of the site doesn't use cookies.