Code Duplication    Length = 7-7 lines in 2 locations

tests/FiltererTest.php 2 locations

@@ 450-456 (lines=7) @@
447
     *
448
     * @return void
449
     */
450
    public function filterWithNonStringError()
451
    {
452
        Filterer::filter(
453
            ['fieldOne' => [['strtoupper'], 'error' => new StdClass()]],
454
            ['fieldOne' => 'valueOne']
455
        );
456
    }
457
458
    /**
459
     * Verify behavior of filter() when 'error' is an empty string.
@@ 468-474 (lines=7) @@
465
     *
466
     * @return void
467
     */
468
    public function filterWithEmptyStringError()
469
    {
470
        Filterer::filter(
471
            ['fieldOne' => [['strtoupper'], 'error' => "\n   \t"]],
472
            ['fieldOne' => 'valueOne']
473
        );
474
    }
475
476
    /**
477
     * @test