   broker = null
 
   describeIfRoundRobinSupport = if type == 'AMQP' then describe else describe.skip
-  describeIfSubscribeSupport = if type != 'AMQP' then describe else describe.skip
 
   beforeEach (done) ->
     broker = transport.getBroker address

            clients.sender.sendTo 'outqueue', sendQueue, payloads.two, (err) ->
              return done err if err

  describeIfSubscribeSupport 'subscribing to binding with srcQueue==tgtQueue', ->
    sendQueue = 'sub-shared-37'
    receiveQueue = sendQueue
    binding = { type:'pubsub', src:sendQueue, tgt:receiveQueue }

      it 'only NACKed message is sent to deadletter', ->
        chai.expect(received.deadletter).to.eql [ { foo: 'nack'} ]

  describe 'subscribing to bound topics', ->
    sendQueue = 'sub-send-36'
    receiveQueue = 'sub-receive-36'
    binding = { type:'pubsub', src:sendQueue, tgt:receiveQueue }
