def METHOD_NAME(self):
    # test the undo_block_start and undo_block_stop methods
    text = self.text
    text.insert('insert', 'foo')
    self.delegator.undo_block_start()
    text.insert('insert', 'bar')
    text.insert('insert', 'bar')
    self.delegator.undo_block_stop()
    self.assertEqual(text.get('1.0', '1.3'), 'foo')
    # test another code path
    self.delegator.undo_block_start()
    text.insert('insert', 'bar')
    self.delegator.undo_block_stop()
    self.assertEqual(text.get('1.0', '1.3'), 'foo')