public void GetRides_NoRides_ExpectEmptyList()
        {
            HttpClient httpClient = HttpClientMockHelper.GetMockedHttpClient("[]");

            var rideClient = new RideClient(httpClient);

            var result = rideClient.GetRides();

            Assert.Empty(result);
        }
        public void GetRides_TwoRides_ExpectTwoRides()
        {
            var tales = new List <RideDto>()
            {
                { new RideDto() }, { new RideDto() }
            };

            HttpClient httpClient = HttpClientMockHelper.GetMockedHttpClient(JsonConvert.SerializeObject(tales));
            var        rideClient = new RideClient(httpClient);

            var result = rideClient.GetRides();

            Assert.NotEmpty(result);
            Assert.Equal(2, result.Count);
        }