public void TrackPhotoDownloadRequest_Id_ProducesAnExpectedURI() { var id = "123"; var request = new TrackPhotoDownloadRequest(id); Assert.Matches($"/{id}", request.Uri.AbsoluteUri); }
private async Task RecordPhotoDownloadAsync(string id) { var parameters = new TrackPhotoDownloadRequest(id); await netClient.GetAsync(parameters.Uri).ConfigureAwait(false); }