code: def test_configuration(self):
      explore = ResampleExplore(probability=0.5)
      assert explore.configuration == dict(
          of_type="resampleexplore", probability=0.5
      )
  
imports: import numpy
  import pytest
  from base import RNGStub, TrialStub
  from orion.algo.pbt.explore import PerturbExplore, PipelineExplore, ResampleExplore
  from orion.algo.space import Categorical, Dimension
  from orion.core.utils.flatten import flatten
label_desc: Use image node_id 2 for calling the TestResample obj's underlying member method code with example usage: obj.test_configuration() without return types