예제 #1
0
        public void getMasterSlidesListExample()
        {
            MasterSlideListResponse response = null;

            try
            {
                GetMasterSlidesListRequest request = createGetMasterSlidesListRequest();
                response = api.GetMasterSlidesList(request);
                Console.WriteLine(response);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
        public void GetMasterSlidesListInvalidStorage()
        {
            InvalidPropertyTestExecutor <GetMasterSlidesListRequest, MasterSlideListResponse> testExecutor =
                new InvalidPropertyTestExecutor <GetMasterSlidesListRequest, MasterSlideListResponse>("GetMasterSlidesList", "Storage");
            GetMasterSlidesListRequest request  = testExecutor.PrepareRequest();
            MasterSlideListResponse    response = null;
            bool needAssertResponse             = false;

            try
            {
                response           = m_instance.GetMasterSlidesList(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }