示例#1
0
        public void shouldNotBeEmptyAfterUpdate()
        {
            var target = new LocalLibrary(@"C:\Temp\Library");

            target.updateLibrary();
            Assert.AreNotEqual(0, target.getBookCount(), "Why there aren't any books?");
        }
示例#2
0
        public void shouldBeEmptyUponCreation()
        {
            var target = new LocalLibrary();

            Assert.AreEqual(0, target.getBookCount(), "Why are there any books?");
        }