protected TestFixture(HostFixture hostFixture, ITestOutputHelper output) { Host = hostFixture.Host; HostAddress = hostFixture.HostAddress; SetupDatabase(hostFixture.AppConfiguration); var rabbitMqConfig = hostFixture.AppConfiguration .GetSection(ConfigKeys.RabbitMq) .Get <RabbitMqConfig>(); _rabbitMqQueue = new RabbitMqQueue( rabbitMqConfig.HostUrl, rabbitMqConfig.User, rabbitMqConfig.Password); _rabbitMqQueue.ConfigureListeningQueue( _integrationTestsExpenseQueue, typeof(V1.Messages.ExpenseCreatedEvent)); ExchangeServiceApi = new ExchangeServiceApi(hostFixture.AppConfiguration .GetSection(ConfigKeys.ExchangeService) .Get <ExchangeServiceConfig>()); }