public void TestPutCalendarException()
        {
            TasksApi target = new TasksApi(APIKEY, APPSID, BASEPATH);
            StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH);


            string name = "sample-project.mpp";
            int? calendarUid = 1;
            int? index = 1;
            string fileName = null;
            string storage = null;
            string folder = null;
            CalendarException body = new CalendarException();
            body.Name = "NewTask";
            body.FromDate = new DateTime(2016, 2, 18);
            body.ToDate = new DateTime(2016, 2, 22);

            storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\tasks\\resources\\" + name));
            SaaSposeResponse actual;
            actual = target.PutCalendarException(name, calendarUid, index, fileName, storage, folder, body);
            Assert.AreEqual("200", actual.Code);
            Assert.IsInstanceOfType(new SaaSposeResponse(), actual.GetType());
        }