public void ModifyTextFromDb_ExpectedParameters_Ok()
        {
            textDataAccess.Add(text);
            text.TextContent = "other Paragraph Content";

            textDataAccess.Modify(text);

            Text obtained = textDataAccess.Get(text.Id);

            Assert.AreEqual(text, obtained);
        }
        public void ModifyText(Text newText)
        {
            if (!textDataAccess.Exists(newText.Id))
            {
                throw new ArgumentException("The text argument not exist in database."
                                            , "newText");
            }

            textDataAccess.Modify(newText);
        }