def assertFrameHasResultJOVs(self, frame, *resultJOVs):
        self.assertTrue(len(frame.unknownApplyNodes()) == 0)

        jovsToFind = []
        for resultJOV in resultJOVs:
            if isinstance(resultJOV, str):
                resultJOV = FORANative.parseStringToJOV(resultJOV)
            jovsToFind.append(resultJOV)
        resultJOVs = list(jovsToFind)

        for res in frame.exits().resultPart():
            self.assertTrue(jovsToFind in res, 
                "Code produced unexpected JOV: %s. Result was %s but expected %s" % 
                    (res, frame.exits().resultPart(), resultJOVs)
                )
            jovsToFind.remove(res)

        self.assertTrue(
            len(jovsToFind) == 0, 
            "Code didn't produce these jovs: %s. Produced %s instead." % 
                (jovsToFind, frame.exits().resultPart())
            )
dataset/ETHPy150Open ufora/ufora/ufora/FORA/Reasoner/SimpleForwardReasoner_test.py/TestSimpleForwardReasoner.assertFrameHasResultJOVs/swapped operands of `in`