Code Duplication    Length = 7-7 lines in 2 locations

tests/spec/NukaCode/Database/CollectionSpec.php 2 locations

@@ 131-137 (lines=7) @@
128
        $this->getWhereNotLike('name', 'hri')->shouldHaveCount(4);
129
    }
130
131
    public function it_gets_the_first_result_in_a_given_array()
132
    {
133
        $data = $this->getWhereInFirst('age', [10, 15]);
134
135
        $data->shouldHaveType('stdClass');
136
        $data->age->shouldBe(10);
137
    }
138
139
    public function it_gets_the_last_result_in_a_given_array()
140
    {
@@ 200-206 (lines=7) @@
197
        $this->getWhereNotLike('kids->name', 'es')->shouldHaveCount(4);
198
    }
199
200
    public function it_taps_through_the_object_to_find_the_first_with_a_given_value()
201
    {
202
        $data = $this->getWhereInFirst('kids->age', [2, 4]);
203
204
        $data->shouldHaveType('stdClass');
205
        $data->age->shouldBe(10);
206
    }
207
208
    public function it_taps_through_the_object_to_find_the_last_with_a_given_value()
209
    {