[
    {
        "function": "get_resource_type",
        "params": [
            "@mock-stream"
        ],
        "return": "stream"
    },
    {
        "function": "fread",
        "params": [
            "@mock-stream",
            2
        ],
        "return-op": "chr-array",
        "return": [140, 115]
    }
]