public void DeleteTextFromDb_ExpectedParameters_Ok()
        {
            textDataAccess.Add(text);

            textDataAccess.Delete(text.Id);

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

            Assert.IsNull(obtained);
        }
        public void DeleteText(Guid aTextId)
        {
            if (!textDataAccess.Exists(aTextId))
            {
                throw new ArgumentException("The text argument not exist in database."
                                            , "aTextId");
            }

            textDataAccess.Delete(aTextId);
        }