예제 #1
0
        public void IfStartTlsIsEnabledStartTlsShouldBeShownInEhloResponse()
        {
            var pop3Simulator = new Pop3ClientSimulator(false, 11002);

            pop3Simulator.Connect();
            string banner;

            pop3Simulator.ReceiveBanner(out banner);

            var data = pop3Simulator.CAPA();

            Assert.IsTrue(data.Contains("STLS"));
        }