Code Duplication    Length = 5-5 lines in 2 locations

tests/TestCase.php 2 locations

@@ 370-374 (lines=5) @@
367
     */
368
    public function createOrder()
369
    {
370
        if ($this->sandbox_mock == self::SANDBOX) {
371
            $this->last_ord_id = uniqid('ORD-');
372
        } else {
373
            $this->last_ord_id = 'meu_id_pedido';
374
        }
375
376
        $order = $this->moip->orders()->setCustomer($this->createCustomer())
377
            ->addItem('Nome do produto', 1, 'Mais info...', 100000)
@@ 393-397 (lines=5) @@
390
     */
391
    public function createMultiorder()
392
    {
393
        if ($this->sandbox_mock == self::SANDBOX) {
394
            $this->last_ord_id = uniqid('MOR-');
395
        } else {
396
            $this->last_ord_id = 'meu_id_pedido';
397
        }
398
399
        $order = $this->moip->orders()->setOwnId(uniqid())
400
            ->addItem('bicicleta 1', 1, 'sku1', 10000)