Code Duplication    Length = 9-9 lines in 2 locations

tests/Filter/ArraysTest.php 2 locations

@@ 100-108 (lines=9) @@
97
     * @test
98
     * @covers ::in
99
     */
100
    public function inFailStrict()
101
    {
102
        try {
103
            Arrays::in('0', [0]);
104
            $this->fail();
105
        } catch (Exception $e) {
106
            $this->assertSame("Value '0' is not in array array (\n  0 => 0,\n)", $e->getMessage());
107
        }
108
    }
109
110
    /**
111
     * @test
@@ 114-122 (lines=9) @@
111
     * @test
112
     * @covers ::in
113
     */
114
    public function inFailNotStrict()
115
    {
116
        try {
117
            Arrays::in('boo', ['foo'], false);
118
            $this->fail();
119
        } catch (Exception $e) {
120
            $this->assertSame("Value 'boo' is not in array array (\n  0 => 'foo',\n)", $e->getMessage());
121
        }
122
    }
123
124
    /**
125
     * @test