Example #1
0
        public BlogPostTest()
        {
            mPost = new TransitPost();
            mPost.Title = Guid.NewGuid().ToString();
            mPost.Body = Guid.NewGuid().ToString();
            mPost.Created = mPost.Modified = DateTime.UtcNow;

            mTopic1Test = new BlogTopicTest();
            AddDependent(mTopic1Test);
            mTopic2Test = new BlogTopicTest();
            AddDependent(mTopic2Test);
        }
Example #2
0
        public BlogPostTest()
        {
            mPost         = new TransitPost();
            mPost.Title   = Guid.NewGuid().ToString();
            mPost.Body    = Guid.NewGuid().ToString();
            mPost.Created = mPost.Modified = DateTime.UtcNow;

            mTopic1Test = new BlogTopicTest();
            AddDependent(mTopic1Test);
            mTopic2Test = new BlogTopicTest();
            AddDependent(mTopic2Test);
        }