Code Duplication    Length = 7-7 lines in 2 locations

tests/unit/ArrayValidatorTest.php 1 location

@@ 134-140 (lines=7) @@
131
    /**
132
     * @return array
133
     */
134
    public function doNotAllowUnspecifiedData()
135
    {
136
        return [
137
            [['stuff', 'monkey']],
138
            [['stuff', 'cake' => 4, 'poop']],
139
        ];
140
    }
141
142
    public function testDefaultValidations()
143
    {

tests/unit/ObjectValidatorTest.php 1 location

@@ 134-140 (lines=7) @@
131
    /**
132
     * @return array
133
     */
134
    public function doNotAllowUnspecifiedData()
135
    {
136
        return [
137
            [(object)['stuff', 'monkey']],
138
            [(object)['stuff', 'cake' => 4, 'poop']],
139
        ];
140
    }
141
}
142