public virtual void TestGetCellHistory()
{
server.setResponseBody("../../../TestSDK/resources/getCellHistory.json");
IList <CellHistory> history = rowResourcesImpl.GetCellHistory(1234L, 123124L);
Assert.True(history.Count == 2);
DateTime d = new DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc).AddSeconds(1391109701000 / 1000);
Assert.AreEqual(d, history[0].ModifiedAt);
User user = new User();
User newUser = history[0].ModifiedBy;
Assert.NotNull(newUser);
user.ID = 2L;
// Not equal because user id's are not set
Assert.AreNotEqual(user, history[0].ModifiedBy);
// Make user id's the same so equals method works
user.ID = newUser.ID;
Assert.AreEqual(user, history[0].ModifiedBy);
Assert.AreEqual(user, history[0].ModifiedBy, "message");
Assert.AreEqual("Some New Text", history[0].DisplayValue);
}