Code Duplication    Length = 7-7 lines in 2 locations

tests/FiltererTest.php 2 locations

@@ 474-480 (lines=7) @@
471
     *
472
     * @return void
473
     */
474
    public function filterWithNonStringError()
475
    {
476
        Filterer::filter(
477
            ['fieldOne' => [['strtoupper'], 'error' => new stdClass()]],
478
            ['fieldOne' => 'valueOne']
479
        );
480
    }
481
482
    /**
483
     * Verify behavior of filter() when 'error' is an empty string.
@@ 493-499 (lines=7) @@
490
     *
491
     * @return void
492
     */
493
    public function filterWithEmptyStringError()
494
    {
495
        Filterer::filter(
496
            ['fieldOne' => [['strtoupper'], 'error' => "\n   \t"]],
497
            ['fieldOne' => 'valueOne']
498
        );
499
    }
500
501
    /**
502
     * @test