PopTest\Validator\RegExTest::testEvaluateTrue PHP Méthode

testEvaluateTrue() public méthode

public testEvaluateTrue ( )
    public function testEvaluateTrue()
    {
        $v = new RegEx('/^[a-zA-Z]+$/');
        $this->assertTrue($v->evaluate('abcdef'));
        $this->assertFalse($v->evaluate('123456'));
    }