def METHOD_NAME(self, entries, _, options_map):
    """
        plugin "beancount.plugins.auto_accounts"
        2019-01-01 * "Transaction"
          Expenses:Non-Retirement:Auto:Fit:Insurance   -10 USD
          Expenses:Non-Retirement:Auto:Fit:Gas 10 USD
        2021-06-17 close Expenses:Non-Retirement:Auto:Fit
    """
    new_entries, _ = close_tree.close_tree(entries, options_map)
    self.assertEqualEntries("""
        2019-01-01 open Expenses:Non-Retirement:Auto:Fit:Insurance
        2019-01-01 open Expenses:Non-Retirement:Auto:Fit:Gas
        2019-01-01 * "Transaction"
          Expenses:Non-Retirement:Auto:Fit:Insurance   -10 USD
          Expenses:Non-Retirement:Auto:Fit:Gas 10 USD
        2021-06-17 open Expenses:Non-Retirement:Auto:Fit
        2021-06-17 close Expenses:Non-Retirement:Auto:Fit:Insurance
        2021-06-17 close Expenses:Non-Retirement:Auto:Fit:Gas
        2021-06-17 close Expenses:Non-Retirement:Auto:Fit
    """, new_entries)