public void BlogsGetListTest() { BlogCollection blogs = AuthInstance.BlogsGetList(); Assert.IsNotNull(blogs, "Blogs should not be null."); foreach (Blog blog in blogs) { Assert.IsNotNull(blog.BlogId, "BlogId should not be null."); Assert.IsNotNull(blog.NeedsPassword, "NeedsPassword should not be null."); Assert.IsNotNull(blog.BlogName, "BlogName should not be null."); Assert.IsNotNull(blog.BlogUrl, "BlogUrl should not be null."); Assert.IsNotNull(blog.Service, "Service should not be null."); } }