public void Run() { DataContext.EnsureStartup(); BusContext.SetOutsideBus(Bus); CreditCardApplicationRepositoryFactory.RepositoryBuilder = () => new CreditCardApplicationRepository(); }