def METHOD_NAME(self):
    card = AlazarCard(None)
    operations = 'this is no operatoin but a string'
    card.register_operations('test', operations)
    self.assertEqual(len(card._registered_programs), 1)
    self.assertIs(card._registered_programs['test'].operations, operations)