def METHOD_NAME(self):
    pred_proba, confidence = self.clf.predict_proba(self.X_test,
                                                    method='linear',
                                                    return_confidence=True)
    assert (pred_proba.min() >= 0)
    assert (pred_proba.max() <= 1)
    assert_equal(confidence.shape, self.y_test.shape)
    assert (confidence.min() >= 0)
    assert (confidence.max() <= 1)