Exemplo n.º 1
0
        public void TestGetQuota()
        {
            hMailServer.Account oAccount = SingletonProvider<Utilities>.Instance.AddAccount(_domain, "*****@*****.**", "test");

              IMAPSimulator oSimulator = new IMAPSimulator();

              string sWelcomeMessage = oSimulator.Connect();
              oSimulator.Logon("*****@*****.**", "test");
              string result = oSimulator.GetQuota("Inbox");
              Assert.IsTrue(result.Contains("A01 OK"));
              oSimulator.Disconnect();
        }