public void A_registered_db4o_provider_manager_can_be_resolved()
        {
            var db4oProvider = new Db4OFileProviderManager("test.db4o");
            var factory      = new FactoryProvider(this.factoryConfig);

            factory.Register(db4oProvider);
            var provider = factory.Resolve <IPersistenceProviderManager>();
        }
        protected override IBasicPersistenceProvider CreateProvider()
        {
            var db4ODatabasePath = "~/App_Data/test.db4o".MapAbsolutePath();

            if (File.Exists(db4ODatabasePath))
            {
                File.Delete(db4ODatabasePath);
            }
            var db4OProviderManager = new Db4OFileProviderManager(db4ODatabasePath);
            var provider            = db4OProviderManager.GetProvider();

            return(provider);
        }