Esempio n. 1
0
        public void ReportComment_NormalCase()
        {
            const string url  = "https://api.vk.com/method/video.reportComment?comment_id=35637&owner_id=1&reason=5&v=5.9&access_token=token";
            const string json =
                @"{
                    'response': 1
                  }";

            VideoCategory cat = GetMockedVideoCategory(url, json);

            bool result = cat.ReportComment(35637, 1, VideoReportType.AdultMaterial);

            result.ShouldBeTrue();
        }