Exemple #1
0
        public void Parse_ValidUrns_ReturnsUrn(string content, string namespaceSpecificString, string expectedContent)
        {
            Urn urn = Urn.Parse(content);

            urn.NamespaceIdentifier.Should().Be(namespaceSpecificString);
            urn.GetContent <RawNamespaceSpecificString>().ToString().Should().Be(expectedContent);
        }