Visualphpunit\Core\Parser::explodeTestName PHP Method

explodeTestName() private method

Explode a testname into class and method components
private explodeTestName ( string $testName ) : mixed[]
$testName string
return mixed[]
    private function explodeTestName($testName)
    {
        $matches = [];
        preg_match('/([a-zA-Z0-9]+)::([a-zA-Z0-9_]+)$/', $testName, $matches);
        return ['class' => $matches[1], 'method' => $matches[2]];
    }