Example #1
0
        public void TagGroupShouldReturnDescriptionKey()
        {
            var tagDict  = new Dictionary <int, TagDocumentation>();
            var taggroup = new TagGroupDocumentation(new ResourceKeyStack(bundle), new Core(), new List <Func <ITag, TagDocumentation, bool> >(), tagDict);

            Assert.That(taggroup.DescriptionKey, Is.EqualTo("description_Core"));
        }
Example #2
0
        public void TagInTagGroupsShouldBePresent()
        {
            var tagDict  = new Dictionary <int, TagDocumentation>();
            var taggroup = new TagGroupDocumentation(new ResourceKeyStack(bundle), new Core(), new List <Func <ITag, TagDocumentation, bool> >(), tagDict);

            Assert.That(taggroup.Name, Is.EqualTo(new Core().Name));
            Assert.That(taggroup.Tags, Is.Not.Null);
            Assert.That(taggroup.Tags.Count, Is.GreaterThan(0));
        }