public void UidlAfterLogonShouldSucceed() { var state = new Pop3ServerSessionState() { IsLoggedOn = true, }; Assert.IsTrue(state.IsCommandValid(Pop3Command.Uidl)); }
public void UidlBeforeLogonShouldFail() { var state = new Pop3ServerSessionState() { IsLoggedOn = false, }; Assert.IsFalse(state.IsCommandValid(Pop3Command.Uidl)); }