public void GetDateTimeFromNowTest() { var expected = DateTime.Now; var utc = expected.ToUniversalTime(); var item = CreateFakeItem(); item["MyDateTime"] = utc; var mapper = new ListItemWrapper(item); var actual = mapper.GetDateTime("MyDateTime"); Assert.AreEqual(expected, actual); }