public void AddComment_WithinTags_est() { using (var scope = new TransactionScope()) { var category = CreateCategory(categoryName); var product = CreateProduct(productName, productPrice, productDate, productQuantity, category.categoryId); var user = CreateUser(); var commentId = productService.AddComment(product.productId, user.usrId, commentBody); var findComment = commentDao.Find(commentId); // Check data Assert.AreEqual(product.productId, findComment.productId); Assert.AreEqual(user.usrId, findComment.userId); Assert.AreEqual(commentBody, findComment.comment1); Assert.AreEqual(System.DateTime.Now.Date, findComment.commentDate.Date); } }