--TEST-- Services_Digg_Proxy::proxy() --GET-- endPoint=/errors&code=404 --FILE-- proxy(); ?> --EXPECTF-- {"timestamp":%i,"errors":[{"code":%i,"message":"Not found"}]}