Code Duplication    Length = 10-10 lines in 3 locations

src/OroCRM/Bundle/MagentoBundle/Tests/Functional/Fixture/CopyCustomerAddressToContact/LoadMagentoChannel.php 1 location

@@ 328-337 (lines=10) @@
325
    /**
326
     * @return $this
327
     */
328
    protected function createGuestCustomerGroup()
329
    {
330
        $customerGroup = new CustomerGroup;
331
        $customerGroup->setName('NOT LOGGED IN');
332
        $customerGroup->setChannel($this->integration);
333
        $customerGroup->setOriginId(0);
334
        $this->em->persist($customerGroup);
335
336
        return $this;
337
    }
338
    /**
339
     * @param Order $order
340
     *

src/OroCRM/Bundle/MagentoBundle/Tests/Functional/Fixture/LoadMagentoChannel.php 1 location

@@ 501-510 (lines=10) @@
498
    /**
499
     * @return $this
500
     */
501
    protected function createGuestCustomerGroup()
502
    {
503
        $customerGroup = new CustomerGroup;
504
        $customerGroup->setName('NOT LOGGED IN');
505
        $customerGroup->setChannel($this->integration);
506
        $customerGroup->setOriginId(0);
507
508
        $this->em->persist($customerGroup);
509
        return $this;
510
    }
511
512
    /**
513
     * @return CartItem

src/OroCRM/Bundle/MagentoBundle/Tests/Functional/Fixture/ResyncMagentoCustomerAddresses/LoadMagentoChannel.php 1 location

@@ 418-427 (lines=10) @@
415
    /**
416
     * @return $this
417
     */
418
    protected function createGuestCustomerGroup()
419
    {
420
        $customerGroup = new CustomerGroup;
421
        $customerGroup->setName('NOT LOGGED IN');
422
        $customerGroup->setChannel($this->integration);
423
        $customerGroup->setOriginId(0);
424
        $this->em->persist($customerGroup);
425
426
        return $this;
427
    }
428
429
    /**
430
     * @return User