Code Duplication    Length = 7-7 lines in 2 locations

tests/FiltererTest.php 2 locations

@@ 431-437 (lines=7) @@
428
     *
429
     * @return void
430
     */
431
    public function filterWithNonStringError()
432
    {
433
        Filterer::filter(
434
            ['fieldOne' => [['strtoupper'], 'error' => new \StdClass()]],
435
            ['fieldOne' => 'valueOne']
436
        );
437
    }
438
439
    /**
440
     * Verify behavior of filter() when 'error' is an empty string.
@@ 449-455 (lines=7) @@
446
     *
447
     * @return void
448
     */
449
    public function filterWithEmptyStringError()
450
    {
451
        Filterer::filter(
452
            ['fieldOne' => [['strtoupper'], 'error' => "\n   \t"]],
453
            ['fieldOne' => 'valueOne']
454
        );
455
    }
456
}
457