Code Duplication    Length = 10-10 lines in 2 locations

tests/IntegrationTest.php 2 locations

@@ 416-425 (lines=10) @@
413
    }
414
415
    /** @test */
416
    public function passwordWithoutLetterOk()
417
    {
418
        $string = '0123';
419
420
        $password = new Password();
421
422
        $password->addCriteria(new Dictionaries\Letter(), new Occurrences\None());
423
424
        $this->assertEquals($password->score($string), 100);
425
    }
426
427
    /** @test */
428
    public function passwordWithoutLetterFail()
@@ 428-437 (lines=10) @@
425
    }
426
427
    /** @test */
428
    public function passwordWithoutLetterFail()
429
    {
430
        $string = '0123a';
431
432
        $password = new Password();
433
434
        $password->addCriteria(new Dictionaries\Letter(), new Occurrences\None());
435
436
        $this->assertEquals($password->score($string), 0);
437
    }
438
439
    /** @test */
440
    public function criteriaWithName()