def METHOD_NAME(self):
    # Test inline transformer (tree-less) & lexer_callbacks
    # Note: the Transformer should not be saved to the file,
    #       and is made unpickable to check for that
    g = r"""
    start: add+
    add: NUM "+" NUM
    NUM: /\d+/
    %ignore " "
    """
    text = "1+2 3+4"
    expected = Tree('start', [30, 70])
    parser = Lark(g, parser='lalr', transformer=InlineTestT(), cache=True, lexer_callbacks={'NUM': append_zero})
    res0 = parser.parse(text)
    parser = Lark(g, parser='lalr', transformer=InlineTestT(), cache=True, lexer_callbacks={'NUM': append_zero})
    assert len(self.mock_fs.files) == 1
    res1 = parser.parse(text)
    res2 = InlineTestT().transform(Lark(g, parser="lalr", cache=True, lexer_callbacks={'NUM': append_zero}).parse(text))
    assert res0 == res1 == res2 == expected