def METHOD_NAME():
    data = camera()  # 512x512 grayscale uint8
    rng = np.random.default_rng(42)
    cam_noisy = random_noise(data, mode='poisson', rng=42)
    cam_noisy2 = random_noise(data, mode='poisson', rng=42, clip=False)
    expected = rng.poisson(img_as_float(data) * 256) / 256.
    assert_allclose(cam_noisy, np.clip(expected, 0., 1.))
    assert_allclose(cam_noisy2, expected)