Code Duplication    Length = 7-7 lines in 2 locations

tests/FiltererTest.php 2 locations

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