def METHOD_NAME(self, actions):
    for action in actions:
        outputChannelIndex = action.outputChannel
        output = ACMOutput(action.outputID)
        inputID, inputChannelIndex = self.getInputIDChannelIndex(output, action.outputChannel)
        input = self.getInput(output, outputChannelIndex)
        if action.inputID != input.id:
            res = self.test.FAIL("Did not get expected input channel index in active "
                                 "map, expected {}, got {} for Output {} channel {}"
                                 .format(
                                    action.inputChannel,
                                    inputChannelIndex,
                                    output.id,
                                    outputChannelIndex
                                 ))
            raise NMOSTestException(res)
        if action.inputChannel != inputChannelIndex:
            res = self.test.FAIL("Did not get expected input channel ID in active "
                                 "map, expected {}, got {} for Output {} channel {}"
                                 .format(
                                     action.inputID,
                                     input.id,
                                     output.id,
                                     outputChannelIndex
                                 ))
            raise NMOSTestException(res)