public function load(string $type = self::LEGACY_TYPE_CASE)
    {
        return $this->loadWithName($this->getLegacyName($type));
    }
public function load(string $type = self::LEGACY_TYPE_CASE)
    {
        return $this->loadWithName($this->getLegacyName($type));
    }
public function load ( string $ type = self :: LEGACY_TYPE_CASE ) { return $ this -> loadWithName ( $ this -> getLegacyName ( $ type ) ) ; }
Reads legacy of test getLegacyFilename is called to generate filename from the test class name.
Raises exception if it is not found.

@param string $type LEGACY_TYPE_CASE (shared by all tests in test case)
or LEGACY_TYPE_TEST (shared only by the same test function)
@throws LegacyException
Reads legacy of test getLegacyFilename is called to generate filename from the test class name . Raises exception if it is not found .