public void GetTopLevelGroupByParameterDoesNotThrow()
        {
            var mod = new SkyrimMod(TestConstants.PluginModKey, SkyrimRelease.SkyrimSE);
            var g   = mod.GetTopLevelGroup(typeof(Npc));
            var g2  = mod.GetTopLevelGroup(typeof(INpc));

            Assert.True(g == g2);
            var g3 = mod.GetTopLevelGroup(typeof(INpcGetter));

            Assert.True(g == g3);
        }
        public void GetTopLevelGroupByGenericISetterThrows()
        {
            var mod = new SkyrimMod(TestConstants.PluginModKey, SkyrimRelease.SkyrimSE);

            Assert.Throws <InvalidCastException>(() =>
            {
                mod.GetTopLevelGroup <INpc>();
            });
        }
 public void GetTopLevelGroupByGenericDoesNotThrow()
 {
     var mod = new SkyrimMod(TestConstants.PluginModKey, SkyrimRelease.SkyrimSE);
     var g   = mod.GetTopLevelGroup <Npc>();
     var g2  = mod.GetTopLevelGroup <INpcGetter>();
 }