Code Duplication    Length = 5-5 lines in 2 locations

tests/TestCase.php 2 locations

@@ 377-381 (lines=5) @@
374
     */
375
    public function createOrder()
376
    {
377
        if ($this->sandbox_mock == self::SANDBOX) {
378
            $this->last_ord_id = uniqid('ORD-');
379
        } else {
380
            $this->last_ord_id = 'meu_id_pedido';
381
        }
382
383
        $order = $this->moip->orders()->setCustomer($this->createCustomer())
384
            ->addItem('Nome do produto', 1, 'Mais info...', 100000, 'SHOES')
@@ 400-404 (lines=5) @@
397
     */
398
    public function createMultiorder()
399
    {
400
        if ($this->sandbox_mock == self::SANDBOX) {
401
            $this->last_ord_id = uniqid('MOR-');
402
        } else {
403
            $this->last_ord_id = 'meu_id_pedido';
404
        }
405
406
        $order = $this->moip->orders()->setOwnId(uniqid())
407
            ->addItem('bicicleta 1', 1, 'sku1', 10000)