Exemple #1
0
        public void Review_List_ExpectResults()
        {
            var reevooApi = new ReevooApi();

            var response = reevooApi.Review.List("D10", "en", "AIPTPDV5700");

            response.Reviews.Count.ShouldBe(6);
        }
        public void Conversation_Detail_ExpectResult()
        {
            var reevooApi = new ReevooApi();

            var response = reevooApi.Conversation.Detail(223049);

            response.Answers.Count.ShouldBeGreaterThan(0);
        }
        public void Reviewable_ShortFormatList_ExpectResults()
        {
            var reevooApi = new ReevooApi();

            var response = reevooApi.Reviewable.ShortFormatList("D10");

            response.Reviewables.Count.ShouldBe(89);
        }
Exemple #4
0
        public void Review_Detail_ExpectResult()
        {
            var reevooApi = new ReevooApi();

            var response = reevooApi.Review.Detail("D10", 314609);

            response.OverallScore.ShouldBeGreaterThan(0);
        }
        public void Reviewable_Detail_ExpectResult()
        {
            var reevooApi = new ReevooApi();

            var response = reevooApi.Reviewable.Detail("D10", "en", "AIPTPDV5700");

            response.Name.ShouldBe("Aiptek DV5700");
        }
        public void Reviewable_ShortFormatDetail_ExpectResult()
        {
            var reevooApi = new ReevooApi();

            var response = reevooApi.Reviewable.ShortFormatDetail("D10", "en", "AIPTPDV5700");

            response.Sku.ShouldBe("AIPTPDV5700");
        }
        public void Organisation_Detail_ExpectResult()
        {
            var reevooApi = new ReevooApi();

            var response = reevooApi.Organisation.Detail("D10");

            response.Name.ShouldBe("Demo Org 10");
        }
        public void Conversation_List_ExpectResults()
        {
            var reevooApi = new ReevooApi();

            // TODO: find valid test arguments
            var response = reevooApi.Conversation.List("D10", "en", "AIPTPDV5700");

            response.Conversations.Count.ShouldBe(6);
        }
        public void Organisation_List_ExpectResults()
        {
            var reevooApi = new ReevooApi();

            var response = reevooApi.Organisation.List();

            response.Organisations.Count.ShouldBeGreaterThan(0);
            response.Summary.Pagination.CurrentPage.ShouldBe(1);
        }
        public void Organisation_Detail_WithBranchCode_ExpectResult()
        {
            var reevooApi = new ReevooApi();

            // TODO: find a valid branch code
            var response = reevooApi.Organisation.Detail("D10", "A");

            response.Name.ShouldBe("Demo Org 10");
        }
        public void CustomerExperienceReview_List_ExpectResults()
        {
            var reevooApi = new ReevooApi();

            // TODO: find a trkref that returns results
            var response = reevooApi.CustomerExperienceReview.List("D10");

            response.CustomerExperienceReviews.Count.ShouldBeGreaterThan(0);
        }
        public void CustomerExperienceReview_Detail_ExpectResults()
        {
            var reevooApi = new ReevooApi();

            // TODO: find a valid review id
            var response = reevooApi.CustomerExperienceReview.Detail("D10", 2774063);

            response.ShouldNotBeNull();
        }