App\Lib\Codeception::getTest PHP 메소드

getTest() 공개 메소드

Given a test type & hash, return a single Test.
public getTest ( string $type, string $hash ) : App\Lib\Test
$type string Test type (Unit, Acceptance, Functional)
$hash string Hash of the test.
리턴 App\Lib\Test or FALSE.
    public function getTest($type, $hash)
    {
        if (isset($this->tests[$type][$hash])) {
            return $this->tests[$type][$hash];
        }
        return FALSE;
    }