예제 #1
0
        public void UidlAfterLogonShouldSucceed()
        {
            var state = new Pop3ServerSessionState()
            {
                IsLoggedOn = true,
            };

            Assert.IsTrue(state.IsCommandValid(Pop3Command.Uidl));
        }
예제 #2
0
        public void UidlBeforeLogonShouldFail()
        {
            var state = new Pop3ServerSessionState()
            {
                IsLoggedOn = false,
            };

            Assert.IsFalse(state.IsCommandValid(Pop3Command.Uidl));
        }