Code Duplication    Length = 5-5 lines in 2 locations

tests/TestCase.php 2 locations

@@ 309-313 (lines=5) @@
306
     */
307
    public function createOrder()
308
    {
309
        if ($this->sandbox_mock == self::SANDBOX) {
310
            $this->last_ord_id = uniqid('ORD-');
311
        } else {
312
            $this->last_ord_id = 'meu_id_pedido';
313
        }
314
315
        $order = $this->moip->orders()->setCustomer($this->createCustomer())
316
            ->addItem('Nome do produto', 1, 'Mais info...', 100000)
@@ 332-336 (lines=5) @@
329
     */
330
    public function createMultiorder()
331
    {
332
        if ($this->sandbox_mock == self::SANDBOX) {
333
            $this->last_ord_id = uniqid('MOR-');
334
        } else {
335
            $this->last_ord_id = 'meu_id_pedido';
336
        }
337
338
        $order = $this->moip->orders()->setOwnId(uniqid())
339
            ->addItem('bicicleta 1', 1, 'sku1', 10000)