public async Task ApiUserImageCorruptionChecking() { const int photoId = 4; var expectedByteArray = Resource.d32776.GetBytes(); var photo = await _restClient.GetAsync <Photo>($"{Routes.Photos}/{photoId}"); var actualByteArray = await _restClient.GetByteAsync(photo.Url); Assert.That(actualByteArray.SequenceEqual(expectedByteArray)); }