Beispiel #1
0
        public void BuildProductRecommendationsRequestQuery()
        {
            //Arrange
            IApiRequestBuilder builder = new ApiRequestBuilder();

            //Act
            var result = builder.GetProductRecommendationApiQueryString(3423433, "test");

            //Assert
            var expectedValue = @"apiKey=test&itemId=3423433";

            Assert.Equal(expectedValue, result);
        }