Arc.Integration.Tests.Configuration.BaseConfigurationTests.Should_configure_data_access C# (CSharp) Метод

Should_configure_data_access() приватный Метод

private Should_configure_data_access ( ) : void
Результат void
        public void Should_configure_data_access()
        {
            Application.ServiceLocatorIs(CreateServiceLocator())
                .Load(
                    DataConfiguration.Default(BuildNHibernateConfiguration()),
                    LoggingIsNotUsedConfiguration.Default(),
                    ValidationIsNotUsedConfiguration.Default()
                );

            Assert.That(ServiceLocator.Resolve<INHibernateConfiguration>(), Is.Not.Null);
            Assert.That(ServiceLocator.Resolve<IUnitOfWorkFactory>(), Is.Not.Null);
            Assert.That(ServiceLocator.Resolve<ISessionFactory>(), Is.Not.Null);
            Assert.That(ServiceLocator.Resolve<IUnitOfWork>(), Is.Not.Null);
            Assert.That(ServiceLocator.Resolve<INHibernateRepository<DomainEntity>>(), Is.Not.Null);
            Assert.That(ServiceLocator.Resolve<IRepository<DomainEntity>>(), Is.Not.Null);
            Assert.That(ServiceLocator.Resolve<IRepository>(), Is.Not.Null);
            Assert.That(ServiceLocator.Resolve<INHibernateRepository<DomainEntity>>(), Is.Not.Null);
        }