Example #1
0
        public void CanStripOldestMessage()
        {
            Log<string> log = new Log<string>();
            log.Add("old msg");
            log.Add("newer msg");

            Assert.AreEqual("old msg", log.StripOldestMessage());
            Assert.AreEqual("newer msg", log.StripOldestMessage());
        }