def METHOD_NAME(model0, mutator1, max_pool, avg_pool, global_pool):
    model0.mutators = MutatorSequence([mutator1])
    assert model0.simplify() == {'debug': mutator1}
    mutator1.sampler = None
    model1 = model0.random()
    assert model1.status == ModelStatus.Frozen
    assert isinstance(model1.sample['debug'], _RandomSampler)
    pools = _get_pools(model1)
    assert pools[0] in [max_pool, avg_pool, global_pool]
    assert pools[1] in [max_pool, avg_pool, global_pool]