Exemple #1
0
        public void TestGetMessagesReturnsOne()
        {
            StubQueryManager querymanager = new StubQueryManager();
            EmailClean       email        = new EmailClean();

            email.querymanager = querymanager;
            Assert.AreEqual(1, email.StartCleaning());
        }
Exemple #2
0
        public void TestDisplayDomainsReturnsOne()
        {
            StubQueryManager querymanager = new StubQueryManager();
            EmailClean       email        = new EmailClean();

            email.querymanager = querymanager;
            Assert.AreEqual(1, email.GetDomains().Count);
        }