public void t_Item() { IdentityMap_Accessor target = new IdentityMap_Accessor(); // TODO: Initialize to an appropriate value Guid identity = LookupConstants.LocationTypeParent; SafnetBaseEntity expected = new Person() { FirstName = "Stephen", Id = identity }; SafnetBaseEntity actual; target[identity] = expected; actual = target[identity]; Assert.AreEqual(expected, actual); }
public void t_IdentityMapConstructor() { IdentityMap_Accessor target = new IdentityMap_Accessor(); Assert.IsNotNull(target._dictionary); }