Example #1
0
        public void Get_ValidGETRequestDataSupplied_SendRequestSendMethodIsCalled()
        {
            var proxy = new ServiceProxy(_cloudId, _accessKey, _secretKey, _apiHost, new ServiceProxyUtility(), _serviceRequest);

            proxy.Get("videos.json", new Dictionary <string, string>
            {
                { "some_parameter", "some_value" },
                { "another_parameter", "another_value" }
            });

            _serviceRequest.AssertWasCalled(req => req.Send());
        }