Inheritance: IModuleTypeLoader
        public void CanLoadModulesWithUrlThatHaveFilePrefix()
        {
            MefFileModuleTypeLoader loader = new MefFileModuleTypeLoader();
            ModuleInfo info = this.CreateModuleInfo();

            bool canLoad = loader.CanLoadModuleType(info);

            Assert.IsTrue(canLoad);
        }
        public void CannotLoadModulesWithUrlThatDontHaveFilePrefix()
        {
            MefFileModuleTypeLoader loader = new MefFileModuleTypeLoader();
            ModuleInfo info = this.CreateModuleInfo();
            info.Ref = "MefModulesForTesting.dll";

            bool canLoad = loader.CanLoadModuleType(info);

            Assert.IsFalse(canLoad);
        }