public void TestPutNewPresentationFromStoredTemplate() { SlidesApi target = new SlidesApi(APIKEY, APPSID, BASEPATH); string name = "slide_" + new Random().Next(100) + ".pptx"; string templatePath = "test_slide.pptx"; string templateStorage = null; string password = null; string storage = null; string folder = null; byte[] file = System.IO.File.ReadAllBytes("\\temp\\slides\\resources\\" + "test_slide.pptx"); ResponseMessage actual; actual = target.PutNewPresentationFromStoredTemplate(name, templatePath, templateStorage, password, storage, folder, file); Assert.AreEqual(200, actual.Code); Assert.IsInstanceOfType(new Com.Aspose.Slides.Model.ResponseMessage(), actual.GetType()); }