Tests.ReleaseItemExclusive_when_lock_id_does_not_match.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
                };
        }