public function installCustomerGroups()
    {
        $groups = (array) $this->customerGroupRepository->findBy([], [], 1)->getIterator();
        if (!empty($groups)) {
            call_user_func($this->log, 'All', 'skipped');
            return;
        }

        $groups = [
            'Particuliers' => [
                'default'      => true,
                'business'     => false,
                'registration' => true,
            ],
            'Entreprise'   => [
                'default'      => false,
                'business'     => true,
                'registration' => true,
            ],
        ];

        foreach ($groups as $name => $config) {
            $result = 'already exists';
            if (null === $this->customerGroupRepository->findOneBy(['name' => $name])) {
                /** @var \Ekyna\Component\Commerce\Customer\Model\CustomerGroupInterface $customerGroup */
                $customerGroup = $this->customerGroupRepository->createNew();
                $customerGroup
                    ->setName($name)
                    ->setDefault($config['default'])
                    ->setBusiness($config['business'])
                    ->setRegistration($config['registration'])
                    ->translate()
                    ->setTitle($name);

                $this->manager->persist($customerGroup);

                $result = 'done';
            }

            call_user_func($this->log, $name, $result);
        }

        $this->manager->flush();
    }