'Cheks that the send_histograms_buckets parameter is passed along'

def test_process_send_histograms_buckets(self):

    endpoint = 'http://fake.endpoint:10055/metrics'
    self.check.poll = MagicMock(return_value=[self.protobuf_content_type, self.bin_data])
    self.check.process_metric = MagicMock()
    self.check.process(endpoint, send_histograms_buckets=False, instance=None)
    self.check.poll.assert_called_with(endpoint)
    self.check.process_metric.assert_called_with(self.ref_gauge, custom_tags=[], instance=None, send_histograms_buckets=False)
