def METHOD_NAME(to, expected):
    literal_expr = ibis.literal(Timestamp(TIMESTAMP))
    value = literal_expr.cast(to)
    result = execute(value.op())
    raw = execute(literal_expr.op())
    assert result == expected(raw)