public void Can_download_route_with_dot_seperator_and_extension_with_jsonserviceclient() { var client = new JsonServiceClient(Config.AbsoluteBaseUri); var request = new GetPngPic { Id = "1", Size = "100x100", }; Assert.That(request.ToGetUrl(), Is.EqualTo("/pics/100x100/1.png")); var response = client.Get <GetPngPic>(request); Assert.That(response.Size, Is.EqualTo("100x100")); Assert.That(response.Id, Is.EqualTo("1")); }
public object Any(GetPngPic request) { return(request); }
public object Any(GetPngPic request) => request;