Code Duplication    Length = 9-10 lines in 2 locations

Tests/Unit/Collection/SeedCollectionTest.php 2 locations

@@ 65-73 (lines=9) @@
62
     * @method attach
63
     * @test
64
     */
65
    public function attachAttachesOnlyOneSeedIfSeedsAreIdentical()
66
    {
67
        $seed = $this->getMock(\Dennis\Seeder\Seed::class);
68
        $this->subject->attach($seed);
69
        $this->subject->attach($seed);
70
        $this->assertSame([
71
            0 => 'NEW1',
72
        ], array_keys($this->subject->current()));
73
    }
74
75
    /**
76
     * @method attach
@@ 79-88 (lines=10) @@
76
     * @method attach
77
     * @test
78
     */
79
    public function attachAttachesMultipleSeedsIfSeedsAreDifferent()
80
    {
81
        $seed = $this->getMock(\Dennis\Seeder\Seed::class);
82
        $this->subject->attach($seed);
83
        $this->subject->attach(clone $seed);
84
        $this->assertSame([
85
            0 => 'NEW1',
86
            1 => 'NEW2',
87
        ], array_keys($this->subject->current()));
88
    }
89
90
    /**
91
     * @param $name