Ejemplo n.º 1
0
        public void CanEjectIdentityMap()
        {
            var session = new StubMartenSession();

            CreateSlot().IdentityMap.Store(session, Document);
            CreateSlot().IdentityMap.Eject(session, Document);
        }
Ejemplo n.º 2
0
        public void CanEjectLightweight()
        {
            var session = new StubMartenSession();

            CreateSlot().Lightweight.Store(session, Document);
            CreateSlot().Lightweight.Eject(session, Document);
        }