def METHOD_NAME(self, entries, errors, options_map):
    """
    plugin "beancount.plugins.check_drained"
    2018-01-01 open Assets:Something:Cash  USD,CAD
    2018-01-01 open Income:Donations
    2018-01-01 open Expenses:Splurge
    2018-02-16 * "Do something"
      Income:Donations
      Assets:Something:Cash    1.00 USD
    2019-01-01 close Assets:Something:Cash
    """
    self.assertEqual(1, len(errors))
    self.assertRegex(errors[0].message, "Balance failed for .*: expected 0 USD")