Пример #1
0
        public void AddThreadTest()
        {
            threadController.AddThread("This is subject.");

            // Tests to see if the thread was added by checking the end of the list
            Assert.Equal("This is subject.", fakeThreadRepo.ThreadList[fakeThreadRepo.ThreadList.Count() - 1].Subject);
        }