public void Ctor_SectionsWithSpaces_EscapesCorrectly()
        {
            var expected = "An:Item%20with%20spaces";

            var nss = new SectionedNamespaceSpecificString("An", "Item with spaces");

            nss.EscapedValue.Should().Be(expected);
        }
        public void Ctor_SectionsWithSpaces_ReturnsNew()
        {
            var expected = new[]
            {
                "An",
                "Item with spaces"
            };

            var nss = new SectionedNamespaceSpecificString("An", "Item with spaces");

            nss.Sections.Should().BeEquivalentTo(expected);
        }
        public void Parse_ValidItem_ReturnsSections()
        {
            var expected = new[]
            {
                "any",
                "valid",
                "sections"
            };

            var result = SectionedNamespaceSpecificString.Parse("any:valid:sections");

            result.Sections.Should().BeEquivalentTo(expected);
        }