def get_class_from_testname(clazz: str) -> str:
    """
    get the test class from the full test method name
    :param clazz: e.g. org.apache.commons.lang3.text.translate.NumericEntityUnescaperTest::testSupplementaryUnescaping
    :return: e.g. org.apache.commons.lang3.text.translate.NumericEntityUnescaperTest
    """
    return clazz[:clazz.rfind("::")]