Code Duplication    Length = 7-7 lines in 2 locations

tests/FiltererTest.php 2 locations

@@ 423-429 (lines=7) @@
420
     *
421
     * @return void
422
     */
423
    public function filterWithNonStringError()
424
    {
425
        Filterer::filter(
426
            ['fieldOne' => [['strtoupper'], 'error' => new StdClass()]],
427
            ['fieldOne' => 'valueOne']
428
        );
429
    }
430
431
    /**
432
     * Verify behavior of filter() when 'error' is an empty string.
@@ 441-447 (lines=7) @@
438
     *
439
     * @return void
440
     */
441
    public function filterWithEmptyStringError()
442
    {
443
        Filterer::filter(
444
            ['fieldOne' => [['strtoupper'], 'error' => "\n   \t"]],
445
            ['fieldOne' => 'valueOne']
446
        );
447
    }
448
}
449