def METHOD_NAME(self):
    # BCP spec sends state -1 to tell MPF to flip the switch state. -1 is
    # used so mpf-mc doesn't have to maintain of state which means it can't
    # get out of sync. :)
    self.press('b')
    bcp_command = ('switch', None, {'name': 'switch_b', 'state': -1})
    self.assertIn(bcp_command, self.sent_bcp_commands)
    self.release('b')
    # make sure releasing doesn't send it again
    found = 0
    for x in self.sent_bcp_commands:
        if x == ('switch', None, {'name': 'switch_b', 'state': -1}):
            found += 1
    self.assertEqual(found, 1)