public void TestPosts() { postList = new List <Facebook>(); commentsList = new List <Comment>(); Comment Comment = new Comment() { Name = "tom", CommentText = "ipsum" }; commentsList.Add(Comment); Comment = new Comment() { Name = "tom", CommentText = "comment 1" }; commentsList.Add(Comment); Comment = new Comment() { Name = "tom 2", CommentText = "comment 2" }; commentsList.Add(Comment); Facebook Post = new Facebook() { PostName = "Bob", PostText = "lorem", Date = "1. April,12:21", Image = "bike", Likes = 21, Comments = commentsList }; postList.Add(Post); commentsList = new List <Comment>(); Facebook Post1 = new Facebook() { PostName = "Jim", PostText = "| ||" + " || |_", Date = "1. April,12:00", Image = "tree", Likes = 1, Comments = commentsList }; postList.Add(Post1); commentsList = new List <Comment>(); Comment = new Comment() { Name = "bob", CommentText = "lorem" }; commentsList.Add(Comment); Facebook Post2 = new Facebook() { PostName = "Test", PostText = "Van Dyke Brown is a very nice brown, it's almost like a chocolate brown. " + "You can work and carry-on and put lots of little happy things in here. " + "Nothing's gonna make your husband or wife madder than coming home and having a snow-covered dinner.", Date = "23. January,23:59", Image = null, Likes = 1, Comments = commentsList }; postList.Add(Post2); }