def METHOD_NAME(
    random_process: randprocs.RandomProcess, rng: np.random.Generator
):
    """Test whether evaluating a random process returns a random variable."""
    n_inputs_args0 = 10
    args0 = rng.normal(size=(n_inputs_args0,) + random_process.input_shape)
    y0 = random_process(args0)
    assert isinstance(y0, randvars.RandomVariable), (
        f"Output of {repr(random_process)} is not a " f"random variable."
    )