public void ToStringOnEmptyNodeShouldReturnEmptyString()
        {
            // Arrange
            var target = new CharacterClassCharacterSetNode();

            // Act
            var result = target.ToString();

            // Assert
            result.ShouldBe("");
        }
        public void ToStringShouldReturnConcatenationOfChildNodesToString()
        {
            // Arrange
            var childNodes = new List <RegexNode> {
                new CharacterNode('a'), new CharacterNode('b'), new CharacterNode('c')
            };
            var target = new CharacterClassCharacterSetNode(childNodes);

            // Act
            var result = target.ToString();

            // Assert
            result.ShouldBe("abc");
        }