Tests.ReleaseItemExclusive_when_lock_id_does_not_match.ReleaseItemExclusive_when_lock_id_does_not_match C# (CSharp) Method

ReleaseItemExclusive_when_lock_id_does_not_match() public method

public ReleaseItemExclusive_when_lock_id_does_not_match ( ) : System
return System
        public ReleaseItemExclusive_when_lock_id_does_not_match()
        {
            //call ReleaseItemExclusive with a lockId that does not match
               Subject.ReleaseItemExclusive(null, SessionId, 3);

            using (var session = DocumentStore.OpenSession())
            {
                PersistedSessionStateDocument = session.Load<SessionStateDocument>(SessionStateDocument.GenerateDocumentId(SessionId, ApplicationName));
            }
        }