public MicrosoftAzureDocumentDbTests(AzureCosmosDbTestEnvironment environment, ITestOutputHelper output)
		{
			var logger = new XUnitLogger(LogLevel.Trace, output);
			_sender = new MockPayloadSender(logger);
			_agent = new ApmAgent(new TestAgentComponents(logger: logger, payloadSender: _sender));
			_agent.Subscribe(new AzureCosmosDbDiagnosticsSubscriber());
			_client = new DocumentClient(new Uri(environment.Endpoint), environment.PrimaryMasterKey);
		}
        public MicrosoftAzureCosmosTests(AzureCosmosDbTestEnvironment environment, ITestOutputHelper output)
        {
            var logger = new XUnitLogger(LogLevel.Trace, output);

            _sender = new MockPayloadSender(logger);
            _agent  = new ApmAgent(new TestAgentComponents(logger: logger, payloadSender: _sender));
            _agent.Subscribe(new AzureCosmosDbDiagnosticsSubscriber());
            _client = new CosmosClient(environment.Endpoint, environment.PrimaryMasterKey, new CosmosClientOptions
            {
                ConnectionMode = ConnectionMode.Gateway
            });
        }