public void exists()
 {
     try
     {
         bool result = MiniUsers.Exists("1").Result;
         Assert.Fail();
     }
     catch (AggregateException e)
     {
         var restException = (RestException)e.InnerException;
         Assert.AreEqual(401, restException.StatusCode);
     }
 }
 public void exists()
 {
     Assert.AreEqual(true, MiniUsers.Exists("1").Result);
     Assert.AreEqual(false, MiniUsers.Exists("10").Result);
 }