     }
 
     @giphy = giphy @robot
+    sinon.stub @giphy.api, '_request', (options, callback) -> callback null, null
+
+  afterEach ->
+    @giphy.api._request.restore()
 
   describe 'test instrumentation', ->
     it 'has a valid class instance', ->

        state.options.should.eql { test1: 1, test3: 'test3' }

    describe '.getSearchUri', ->
    describe '.getIdUri', ->
    describe '.getTranslateUri', ->
    describe '.getRandomUri', ->
    describe '.getTrendingUri', ->
    describe '.getHelp', ->
    describe '.getUri', ->

    describe '.sendResponse', ->
      beforeEach ->

        @giphy.respond { match: [ null, null ] }
        @giphy.getUri.should.not.have.been.called
        @giphy.error.should.have.callCount 5
