'use strict'

var Instrumentation = require('../../lib/instrumentation')

var noop = function () {}

module.exports = function mockClient (cb) {
  var client = {
    active: true,
    _httpClient: {
      request: cb || noop
    },
    logger: require('console-log-level')({ level: 'trace' })
  }
  client._instrumentation = new Instrumentation(client)
  return client
}

@@ -173,16 +173,42 @@
 : true,%0A
+    _ff_instrument: true,%0A
     _htt

Enable instrumentation feature flag when testing