public void TestGetShapeWithFormat() { SlidesApi target = new SlidesApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "test_slide.pptx"; int? slideIndex = 1; int? shapeIndex = 1; string format = "png"; string folder = null; string storage = null; float? scaleX = null; float? scaleY = null; string bounds = null; storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\slides\\resources\\" + name)); ResponseMessage actual; actual = target.GetShapeWithFormat(name, slideIndex, shapeIndex, format, folder, storage, scaleX, scaleY, bounds); Assert.AreEqual(200, actual.Code); Assert.IsInstanceOfType(new Com.Aspose.Slides.Model.ResponseMessage(), actual.GetType()); }