App\Lib\Codeception::getTest PHP Method

getTest() public method

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.
return App\Lib\Test or FALSE.
    public function getTest($type, $hash)
    {
        if (isset($this->tests[$type][$hash])) {
            return $this->tests[$type][$hash];
        }
        return FALSE;
    }