Fakerino\Test\Core\RegEx\RegRevGeneratorTest::testGenerate PHP Méthode

testGenerate() public méthode

public testGenerate ( )
    public function testGenerate()
    {
        $generator = new RegRevGenerator();
        $length = 3;
        $expr = '/\\d{' . $length . '}/';
        $this->assertEquals($length, strlen($generator->generate($expr)));
    }