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


            string name = "sample-project.mpp";
            string resourceName = "Resource6";
            int? beforeResourceId = 1;
            string fileName = null;
            string storage = null;
            string folder = null;

            storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\tasks\\resources\\" + name));
            ResourceItemResponse actual;
            actual = target.PostProjectResource(name, resourceName, beforeResourceId, fileName, storage, folder);
            Assert.AreEqual("201", actual.Code);
            Assert.IsInstanceOfType(new ResourceItemResponse(), actual.GetType());
        }