public void IsFindingCorrectInfoAboutAllAuthors() { List <Author> authors = authorServices.GetAllAuthors(); List <AuthorView> authorsViews = authorServices.GetAuthorList(authors); List <AuthorView> expected = new List <AuthorView> { new AuthorView { Id = 1, FullName = "Author One First", BooksCount = 1, Country = "Bulgaria" }, new AuthorView { Id = 2, FullName = "Authors two second", BooksCount = 3, Country = null } }; Assert.AreEqual(expected.Count, authorsViews.Count); }