def METHOD_NAME(self, import_fixture):
    sampler, likelihood = import_fixture
    kwargs_run = {
        "ninit": 2,
        "nlive_const": 3,
    }
    dynamic_goal = 0.8
    samples, means, logZ, logZ_err, logL, results = sampler.run(
        dynamic_goal, kwargs_run
    )
    assert len(means) == 1
    if not all_installed:
        # trivial test when dypolychord is not installed properly
        assert np.count_nonzero(samples) == 0
    if os.path.exists(_output_dir):
        shutil.rmtree(_output_dir, ignore_errors=True)