def METHOD_NAME(self, cancellations):
    expected_productions = []
    for build_id in cancellations:
        reason = 'Build has been cancelled because another build in the same buildset failed'
        expected_productions.append(
            (('control', 'builds', str(build_id), 'stop'),
             {'reason': reason}))
    self.master.mq.assertProductions(expected_productions)