Code Duplication    Length = 7-7 lines in 2 locations

tests/FiltererTest.php 2 locations

@@ 373-379 (lines=7) @@
370
     *
371
     * @return void
372
     */
373
    public function filterWithNonStringError()
374
    {
375
        Filterer::filter(
376
            ['fieldOne' => [['strtoupper'], 'error' => new StdClass()]],
377
            ['fieldOne' => 'valueOne']
378
        );
379
    }
380
381
    /**
382
     * Verify behavior of filter() when 'error' is an empty string.
@@ 391-397 (lines=7) @@
388
     *
389
     * @return void
390
     */
391
    public function filterWithEmptyStringError()
392
    {
393
        Filterer::filter(
394
            ['fieldOne' => [['strtoupper'], 'error' => "\n   \t"]],
395
            ['fieldOne' => 'valueOne']
396
        );
397
    }
398
399
    /**
400
     * @test