'Test that basic_ack calls the QoS object properly.'

@patch((QPID_MODULE + u'.Channel.qos'))
def test_basic_ack(self, mock_qos):

    mock_delivery_tag = Mock()
    self.my_channel.basic_ack(mock_delivery_tag)
    mock_qos.ack.assert_called_with(mock_delivery_tag)
