예제 #1
0
        public void Report_NormalCase()
        {
            const string url  = "https://api.vk.com/method/video.report?video_id=166613182&owner_id=1&reason=4&comment=коммент&v=5.9&access_token=token";
            const string json =
                @"{
                    'response': 1
                  }";

            VideoCategory cat = GetMockedVideoCategory(url, json);

            bool result = cat.Report(166613182, VideoReportType.DrugPropaganda, 1, "коммент");

            result.ShouldBeTrue();
        }