def METHOD_NAME(self) -> TopLevelTestCase:
    return TopLevelTestCase(
        self.package,
        self.module,
        self.class_name or self.func_name,
        self.class_name is not None,
    )