public void CreateDirectoryTest()
 {
     DirectoryModel target = new DirectoryModel();
     if(target.Exist(@"\test2\test4",2))
     {
         Directory directoryInfo = target.GetDirectory(@"\test2\test4",2);
         target.DeleteDirectory(directoryInfo.DirectoryId, 2);
     }
     int userId = 2;
     string patch = @"\test2\test4";
     bool isPublic = false;
     target.CreateDirectory(userId, patch, isPublic);
 }
 public void ExistTest()
 {
     DirectoryModel target = new DirectoryModel();
     string path = @"\test1\test2";
     int userId = 2;
     bool expected = true;
     bool actual = target.Exist(path, userId);
     Assert.AreEqual(expected, actual);
 }