public async Task Search_NotSuccessStatusCode_ThrowsHttpRequestException()
        {
            var mockHttpHandler = HttpHandler.GetMockFailedHttpHandlerObject();
            var giphy           = new Giphy(mockHttpHandler);
            var search          = new RandomParameter();

            _ = await Assert.ThrowsAsync <HttpRequestException>(() => giphy.Random(search));
        }
        public async Task Search_ParameterIsNull_ThrowsNullReferenceException()
        {
            var giphy = new Giphy("test");

            RandomParameter search = null;

            _ = await Assert.ThrowsAsync <NullReferenceException>(() => giphy.Random(search));
        }
        public async Task Search_WhenCalled_ReturnsGiphySingle()
        {
            var mockHttpHandler = HttpHandler.GetMockSuccessHttpHandlerObject();
            var giphy           = new Giphy(mockHttpHandler);
            var search          = new RandomParameter();

            var actual = await giphy.Random(search);

            Assert.NotNull(actual);
            Assert.IsType <GiphySingle>(actual);
        }