def METHOD_NAME(
    sparkSession,
    pool,
    expectedDataSchema,
    expectedData,
    expectedFeatureNames,
    expectedPairsData = None,
    expectedPairsDataSchema = None,
    # set to true if order of rows might change. Requires sampleId or (groupId, sampleId) in data
    compareByIds=False