Redaxscript\Tests\Validator\LoginTest::testLogin PHP Метод

testLogin() публичный Метод

testLogin
С версии: 2.2.0
public testLogin ( string $login = null, integer $expect = null )
$login string
$expect integer
    public function testLogin($login = null, $expect = null)
    {
        /* setup */
        $validator = new Validator\Login();
        /* actual */
        $actual = $validator->validate($login);
        /* compare */
        $this->assertEquals($expect, $actual);
    }