def METHOD_NAME(self, log, step, expected_t, expected_y):
    self.validate_resample(log, step, expected_t, expected_y)
    # Final test: make sure un-sorted data gets sorted.  Use a proxy to
    # reverse the original log, only sample_times and data methods needed.
    class ReverseLog:
        def sample_times(self):
            return np.flip(np.array(log.sample_times(), copy=True), axis=0)
        def data(self):
            return np.flip(np.array(log.data(), copy=True), axis=1)
    # Re-use the previous test's expected t and x.
    r_log = ReverseLog()
    self.validate_resample(r_log, step, expected_t, expected_y)