GetInstallStatus() public method

public GetInstallStatus ( ) : InstallStatus
return Rebel.Framework.ProviderSupport.InstallStatus
        public void NHibernateBootstrapper_Requires_Configuration()
        {
            var boot = new ProviderBootstrapper(null, null, new FakeFrameworkContext());

            var status = boot.GetInstallStatus();

            Assert.AreEqual(InstallStatusType.RequiresConfiguration, status.StatusType);
        }
        public void NHibernateBootstrapper_Pending()
        {
            var builder = new NHibernateConfigBuilder("data source=:memory:", "unit-tester", SupportedNHDrivers.SqlLite, "thread_static", false);
            var config = builder.BuildConfiguration();
            var boot = new ProviderBootstrapper(config, new ProviderConfigurationSection()
                {
                    ConnectionStringKey = "data source=:memory:",
                    Driver = SupportedNHDrivers.SqlLite,
                    SessionContext = "thread_static"
                }, new FakeFrameworkContext());
            
            var status = boot.GetInstallStatus();

            Assert.AreEqual(InstallStatusType.Pending, status.StatusType);
        }