public bool TryDemandMountPoint(Guid mountPointId, out IMountPoint mountPoint)
 {
     if (UnavailableMountPoints.Any(m => m.MountPointId == mountPointId))
     {
         mountPoint = null;
         return(false);
     }
     mountPoint = new MockMountPoint(EnvironmentSettings);
     return(true);
 }
 public bool TryDemandMountPoint(string mountPointUri, out IMountPoint mountPoint)
 {
     if (UnavailableMountPoints.Any(m => m == mountPointUri))
     {
         mountPoint = null;
         return(false);
     }
     mountPoint = new MockMountPoint(EnvironmentSettings);
     return(true);
 }