Code Duplication    Length = 7-7 lines in 2 locations

tests/FiltererTest.php 2 locations

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