def METHOD_NAME(self, estimator_instance, method):
    """Test expected return of methods that take percentage-like argument."""
    if not _has_capability(estimator_instance, method):
        return None
    d = estimator_instance
    np_unif = np.random.uniform(size=d.shape)
    p = pd.DataFrame(np_unif, index=d.index, columns=d.columns)
    res = getattr(estimator_instance, method)(p)
    _check_output_format(res, d, method)