public void CanEjectIdentityMap() { var session = new StubMartenSession(); CreateSlot().IdentityMap.Store(session, Document); CreateSlot().IdentityMap.Eject(session, Document); }
public void CanEjectLightweight() { var session = new StubMartenSession(); CreateSlot().Lightweight.Store(session, Document); CreateSlot().Lightweight.Eject(session, Document); }