def METHOD_NAME(tmpCase: dict, testCaseList: list):
    dataProviderList = tmpCase.get('dataProvider')
    if dataProviderList is None or len(dataProviderList) == 0:
        testCaseList.append(tmpCase)
    else:
        genList = generateCase(0, tmpCase, dataProviderList)
        testCaseList.extend(genList)