public void TestPutSlidesSlideBackground() { SlidesApi target = new SlidesApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "test_slide.pptx"; int? slideIndex = 1; string folder = null; string storage = null; string body = "#FFFF0000"; storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\slides\\resources\\" + name)); SlideBackgroundResponse actual; actual = target.PutSlidesSlideBackground(name, slideIndex, folder, storage, body); Assert.AreEqual("200", actual.Code); Assert.IsInstanceOfType(new Com.Aspose.Slides.Model.SlideBackgroundResponse(), actual.GetType()); }