Наследование: IAssemblyRegistration
Пример #1
0
        public void should_have_loaded_not_native_assemblies_only()
        {
            var fakeAssemblyRegistration = new FakeAssemblyRegistration();

            thePackage.LoadAssemblies(fakeAssemblyRegistration);

            fakeAssemblyRegistration.AssembliesRequestedToBeLoaded.ShouldContain("a");
            fakeAssemblyRegistration.AssembliesRequestedToBeLoaded.ShouldNotContain("b");
        }
        public void should_have_loaded_not_native_assemblies_only()
        {
            var fakeAssemblyRegistration = new FakeAssemblyRegistration();
            thePackage.LoadAssemblies(fakeAssemblyRegistration);

            fakeAssemblyRegistration.AssembliesRequestedToBeLoaded.ShouldContain("a");
            fakeAssemblyRegistration.AssembliesRequestedToBeLoaded.ShouldNotContain("b");
        }