Exemple #1
0
        protected void AssertModulesLoadedAreEqualTo(params string[] expectedModuleNames)
        {
            string[] loadedModulesNames = LoadedModulesRegistry.GetRegisteredModules()
                                          .Concat(_registry.GetRegisteredModules())
                                          .Select(type => type.Name)
                                          .ToArray();

            Assert.That(loadedModulesNames, Is.EqualTo(expectedModuleNames));
        }
 public MessageCarrier()
 {
     _list = LoadedModulesRegistry.GetRegisteredModules()
             .Select(type => type.Name).ToList();
 }