def METHOD_NAME():
    """Test if negative image values raises ValueError."""
    with pytest.raises(ValueError):
        shape = (100, 100)
        data = np.zeros(shape) - 1.0
        apply_poisson_noise(data)