public void Constructor_Sets_RegisteredRelations()
        {
            var relations = new[] { "relation1", "relation2", "relation2" };
            var registry  = new LinkRelationRegistry(relations);

            Assert.True(registry.IsRegisteredRelation(relations[0]));
            Assert.True(registry.IsRegisteredRelation(relations[1]));
            Assert.True(registry.IsRegisteredRelation(relations[2]));
        }
        IsRegisteredRelation_Returns_False_When_LinkRelation_Is_NullEmptyOrWhiteSpace(
            string linkRelation)
        {
            var registry = new LinkRelationRegistry();

            Assert.False(registry.IsRegisteredRelation(linkRelation));
        }
        public void Constructor_Sets_DefaultRegisteredRelations()
        {
            var registry = new LinkRelationRegistry();

            Assert.True(
                registry.IsRegisteredRelation(LinkRelationRegistry.Appendix));
        }