コード例 #1
0
        public void AddBlogWithPosts_DisconnectedTest()
        {
            var ops = new DataOperations();

            Assert.IsTrue(ops.AddBlog(ThreePostBlog(), true),
                          "Expected adding blog disconnection to function");
        }
コード例 #2
0
        public void AddBlogWithPosts_ConnectedTest()
        {
            var ops = new DataOperations();

            Assert.IsTrue(ops.AddBlog() == 3,
                          "Expected three post for adding new blog connected");
        }