Пример #1
0
        public void Should_Return_Correct_RegistrationContext()
        {
            var descriptor = new TestModuleDescriptor();
            var context    = descriptor.CreateRegistrationContext();

            Assert.IsNotNull(context);
            Assert.AreEqual(context.GetType(), typeof(ModuleRegistrationContext));
        }
        public void Should_Return_Correct_RegistrationContext()
        {
            var descriptor = new TestModuleDescriptor();
            var context = descriptor.CreateRegistrationContext();

            Assert.IsNotNull(context);
            Assert.AreEqual(context.GetType(), typeof(ModuleRegistrationContext));
        }
Пример #3
0
        public void Should_Return_Correct_Assembly_Name()
        {
            var descriptor = new TestModuleDescriptor();

            Assert.AreEqual(descriptor.AssemblyName.Name, GetType().Assembly.GetName().Name);
        }
        public void Should_Return_Correct_Assembly_Name()
        {
            var descriptor = new TestModuleDescriptor();

            Assert.AreEqual(descriptor.AssemblyName.Name, GetType().Assembly.GetName().Name);
        }