code: def test_moving_block_bootstrap(block_length, replacement):
      """Tests for the _moving_block_bootstrap.
  
      1. the output series has the same index as the input
      2. basic checks for the distribution of the bootstrapped values
         i.e. actual min/max >= bootstrapped min/max
      """
      y_hat = _moving_block_bootstrap(
          y, block_length=block_length, replacement=replacement
      )
      assert (
          y_hat.index.equals(y_index)
          & (y_hat.max() <= y.max())
          & (y_hat.min() >= y.min())
      )
  
file_path: sktime/sktime/transformations/bootstrap/tests/test_mbb.py
imports: import pandas
  import pytest
  from sktime.datasets import load_airline
  from sktime.transformations.bootstrap import MovingBlockBootstrapTransformer, STLBootstrapTransformer
  from sktime.transformations.bootstrap._mbb import _get_series_name, _moving_block_bootstrap
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 5 for calling a global function with example usage: test_moving_block_bootstrap(block_length, replacement) without return types