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

            var fairyTaleClient = new FairyTaleClient(httpClient);

            var result = fairyTaleClient.GetFairyTales();

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

            HttpClient httpClient      = HttpClientMockHelper.GetMockedHttpClient(JsonConvert.SerializeObject(tales));
            var        fairyTaleClient = new FairyTaleClient(httpClient);

            var result = fairyTaleClient.GetFairyTales();

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