public void ReplaceWithEmptyDataTest()
        {
            Mock <ILoad> helper = new Mock <ILoad>();

            helper.Setup(m => m.LoadWordsToReplace()).Returns(emptyWordsToReplace);

            IReplaceable textModel = new IgnoreCaseTextModel(helper.Object, emptyOrigText);

            Assert.Throws <NoDataFoundException>(() => textModel.ReplaceText());
        }
        public void IgnoreCaseTextModelTest()
        {
            Mock <ILoad> helper = new Mock <ILoad>();

            helper.Setup(m => m.LoadWordsToReplace()).Returns(wordsToReplace);

            IReplaceable textModel = new IgnoreCaseTextModel(helper.Object, origText);

            string replacedText = textModel.ReplaceText();

            Assert.IsFalse(replacedText.Contains("Företaget"));
        }