Beispiel #1
0
        public void TestSites()
        {
            MimerConsumer mc    = new MimerConsumer();
            List <Site>   sites = mc.GetSites();

            Assert.IsTrue(sites.Count != 0, "No sites found");
        }
Beispiel #2
0
        public void TestFrontPageEditorSites()
        {
            MimerConsumer mc    = new MimerConsumer();
            List <Site>   sites = mc.GetFrontPageEditorsSites();

            Assert.IsTrue(sites.Count != 0, "No front page editor sites found");
        }
Beispiel #3
0
        public void TestZeroLatestArticles()
        {
            MimerConsumer  mc       = new MimerConsumer();
            List <Article> articles = mc.GetNLatestArticles(0);

            Assert.AreEqual(0, articles.Count, "Did not get the expected count of articles (0)");
        }
Beispiel #4
0
 static Program()
 {
     Consumer = new MimerConsumer();
 }