public void ShouldReturnOnlyAlphabeticValues_WhenIsFilteringAlphabeticIsTrueAndOthersAreSetToFalse()
            {
                // Given
                var textRange = CreateTextRange("hello 10! how are you? I am 55 years old.");
                var underTest = new WordSelector();
                underTest.ApplyAttributes(new[] { new SelectorAttribute("alphabetic", true) });

                // When
                var result = underTest.SelectElement(textRange).Select(range => range.GetText());

                // Then
                Assert.That(result, Is.EquivalentTo(new[] { "hello", "how", "are", "you", "I", "am", "years", "old" }));
            }
            public void ShouldReturnSeparatedWordsOfSpecifiedText_WhenEveryAttributeHasDefaultValue()
            {
                // Given
                var textRange = CreateTextRange("hello world, how\nare\r\nyou?!Fine (thanks).");
                var underTest = new WordSelector();

                // When
                var result = underTest.SelectElement(textRange).Select(range => range.GetText());

                // Then
                Assert.That(result, Is.EquivalentTo(new[]
                {
                    "hello", "world", "how", "are", "you", "Fine", "thanks"
                }));
            }