public void UpdateWithExistingMarkdownReturnsTrue()
        {
            IRepository <Markdown> markdownRepository = new MarkdownRepository();

            markdownRepository.Save(markdown);
            bool updated = markdownRepository.Update(updatedMarkdown);

            Assert.IsTrue(updated);
        }
        public void UpdateWithExistingMarkdownUpdatesRightMarkdown()
        {
            IRepository <Markdown> markdownRepository = new MarkdownRepository();

            markdownRepository.Save(markdown);
            bool updated      = markdownRepository.Update(updatedMarkdown);
            var  markdownList = markdownRepository.GetAll();

            Assert.IsTrue(updated);
            Assert.AreEqual(markdownList[0].ProductName, "Can of soup");
            Assert.AreEqual(markdownList[0].Amount, 0.45f);
        }