예제 #1
0
 public void setCookieTest()
 {
     API parent = _api;
     data target = new data(parent);
     long uid = Constants.FBSamples_UserId;
     string cookieName = Constants.TestString1;
     string value = Constants.TestString2;
     Nullable<DateTime> expires = null;
     string path = string.Empty;
     bool expected = true;
     bool actual;
     actual = target.setCookie(uid, cookieName, value, expires, path);
     Assert.AreEqual(expected, actual);
 }