def METHOD_NAME(self, grammar, code, **options):
    parser = Lark(grammar, parser='lalr', maybe_placeholders=False, **options)
    tree = parser.parse(code)
    new = Reconstructor(parser).reconstruct(tree)
    self.assertEqual(_remove_ws(code), _remove_ws(new))