def METHOD_NAME(checkMigration, seMock, multiRetVal):
    seModMock, seClassMock = seMock
    seClassMock.getFileMetadata = MagicMock(side_effect=functools.partial(multiRetVal, Migrated=1))
    assert checkMigration()["OK"]
    assert len(checkMigration.waitingFiles) == N_FILES
    for opFile in checkMigration.operation:
        assert opFile.Status == "Done"