Code Duplication    Length = 9-10 lines in 2 locations

test/unit/test/Transaction/TransactionOptionsTest.php 2 locations

@@ 69-78 (lines=10) @@
66
        self::assertContains($this->peer, $this->sut->getPeers());
67
    }
68
69
    public function testFromArray()
70
    {
71
        $sut = new TransactionOptions([
72
            'peers' => [$this->peer],
73
        ]);
74
75
        self::assertTrue($sut->hasPeers());
76
        self::assertCount(1, $sut->getPeers());
77
        self::assertContains($this->peer, $sut->getPeers());
78
    }
79
80
    public function testFromMultiDimensionalArray()
81
    {
@@ 80-88 (lines=9) @@
77
        self::assertContains($this->peer, $sut->getPeers());
78
    }
79
80
    public function testFromMultiDimensionalArray()
81
    {
82
        $sut = new TransactionOptions([
83
            'peers' => [$this->peer],
84
        ]);
85
86
        self::assertCount(1, $sut->getPeers());
87
        self::assertContains($this->peer, $sut->getPeers());
88
    }
89
90
    public function testSetPeers()
91
    {