Exemplo n.º 1
0
        public void ServiceLockingUnlockingTest()
        {
            var lockManager = new LockingManager(contextManager, userIdentificationMock);
            var service     = servicesDbSet.First();

            lockManager.LockEntity(service);
            var lockResult = lockManager.UnLockEntity(service);

            Assert.Equal(EntityLockEnum.Unlocked, lockResult);
        }