def METHOD_NAME(self):
    tool_a = MagicMock()
    tool_a.environment = {}
    tool_b = MagicMock()
    tool_b.environment = { "foo" : "bar" }
    tools = {"a" : tool_a, "b" : tool_b}
    self.__env = Env({"FOO" : "foo"
        })
    self.__env.setFuns(DEFAULT_STRING_FUNS.copy())
    self.__env.setFunArgs({"sandbox" : False, "__tools" : tools})