public static void AllBooksAuthor_4_NotEmpty()
        {
            int authorID = 2;


            var rezult = _bookRepository.AllBooksAuthor(authorID);

            Assert.NotEmpty(rezult);
        }
Esempio n. 2
0
        public static void AllBooksAuthor_4_NotEmpty()
        {
            int authorID = 2;

            _mock.Setup(p => p.AllBooksAuthor(authorID)).Returns(bookRepository.AllBooksAuthor(authorID));
            var rezult = _mock.Object.AllBooksAuthor(authorID);

            Assert.NotEmpty(rezult);
        }