'Test that basic_reject calls the QoS object properly.'

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

    mock_delivery_tag = Mock()
    mock_requeue_value = Mock()
    self.my_channel.basic_reject(mock_delivery_tag, mock_requeue_value)
    mock_qos.reject.assert_called_with(mock_delivery_tag, requeue=mock_requeue_value)
