public void ContextHandler_GetObject() { string ident = Guid.NewGuid().ToString(); object expected = null; object actual = ContextHandler.GetObject(ident); Assert.AreEqual(expected, actual); }
public void ContextHandler_SetObject() { string ident = Guid.NewGuid().ToString(); object obj = "TestValue"; ContextHandler.SetObject(ident, obj); object actual = ContextHandler.GetObject(ident); Assert.AreEqual(obj, actual); }