def METHOD_NAME(self):
    pred_labels, confidence = self.clf.predict(self.X_test,
                                               return_confidence=True)
    assert_equal(pred_labels.shape, self.y_test.shape)
    assert_equal(confidence.shape, self.y_test.shape)
    assert (confidence.min() >= 0)
    assert (confidence.max() <= 1)