public void ShouldAcceptAString()
        {
            ICharacterCounter characterCounter = new CharacterCounter(forbiddenCharacters, false);
            characterCounter.Add("abc");

            int expectedResult = 3;

            Assert.AreEqual(expectedResult, characterCounter.GetTotalNumberOfCharacters());
        }
        public void ShouldIgnoreForbiddenCharactersWhenAddingCharacters()
        {
            ICharacterCounter characterCounter = new CharacterCounter(forbiddenCharacters, false);
            characterCounter.Add('a');
            characterCounter.Add('b');
            characterCounter.Add('c');
            characterCounter.Add('\t');
            characterCounter.Add(' ');

            int expectedResult = 3;

            Assert.AreEqual(expectedResult, characterCounter.GetTotalNumberOfCharacters());
        }
        public void ShouldIgnoreForbiddenCharactersWhenAddingAString()
        {
            ICharacterCounter characterCounter = new CharacterCounter(forbiddenCharacters, false);
            characterCounter.Add("Aa \n Bb \t Cc \r");

            int expectedResult = 6;

            Assert.AreEqual(expectedResult, characterCounter.GetTotalNumberOfCharacters());
        }