Tests.ReleaseItemExclusive_when_lock_id_matches.PreExistingSessionState C# (CSharp) Method

PreExistingSessionState() protected method

protected PreExistingSessionState ( ) : SessionStateDocument
return Raven.AspNet.SessionState.SessionStateDocument
        protected override SessionStateDocument PreExistingSessionState()
        {
            return
                new SessionStateDocument(SessionId, ApplicationName)
                    {
                        Locked = true,
                        LockId = LockIdExisting,
                        Expiry = ExpiryExisting
                    };
        }