示例#1
0
        public void Parse_Returns_LinkRelationType(
            string value,
            string[] expectedRelations)
        {
            var actual = LinkRelationType.Parse(value);

            Assert.NotNull(actual);
            Assert.Equal(
                expectedRelations,
                actual.Relations);
        }
示例#2
0
 public void Parse_Returns_Null_When_Value_Is_NullEmptyOrWhitespace(
     string value)
 {
     Assert.Null(LinkRelationType.Parse(value));
 }