[ { "function": "get_resource_type", "params": [ "@mock-stream" ], "return": "stream" }, { "function": "fclose", "params": [ "@mock-stream" ], "return": true } ]