InsertPost() public method

Inserts a new Post to the data store.
public InsertPost ( Post post ) : void
post Post
return void
        public void InsertPostTest()
        {
            MongoDBBlogProvider target = new MongoDBBlogProvider(); // TODO: Initialize to an appropriate value
            Post post = new Post();
            post.Id = new Guid();
            post.Title = "tittle1";
            post.Tags.Add("tag1");
            post.Tags.Add("tag2");

            post.Comments.Add(new Comment() { Id = new Guid(), Content = "content1" });
            post.Comments.Add(new Comment() { Id = new Guid(), Content = "content2" });
            target.InsertPost(post);
        }