public void PasswordShouldBeSet() { var factory = new RabbitMqFactory(); var connectionFactory = factory.GetConnectionFactory(_endpoint); connectionFactory.Password.Should().Be("pw"); }
public void UserShouldBeSet() { var factory = new RabbitMqFactory(); var connectionFactory = factory.GetConnectionFactory(_endpoint); connectionFactory.UserName.Should().Be("un"); }
public void VhostShouldBeSet() { var factory = new RabbitMqFactory(); var connectionFactory = factory.GetConnectionFactory(_endpoint); connectionFactory.VirtualHost.Should().Be("vhost"); }