Example #1
0
        public void Setup()
        {
            var configService           = new AppSettingsConfigurationService();
            var connectionFactory       = new ConfiguredConnectionFactory(configService);
            var kernel                  = new StandardKernel();
            var configurationRepository = new ConfigurationRepository(connectionFactory);
            var configuration           = new QueuingConfiguration(connectionFactory, kernel, configurationRepository);

            configuration.ConfigureSystem();
        }
        public void ConfigureSystem()
        {
            //Act
            var config = new QueuingConfiguration(connectionFactory, kernel.Object, configurationRepository);

            config.ConfigureSystem();

            //Assert
            Assert.Pass();
        }