def METHOD_NAME(monkeypatch):
    """Try to insert a single trial with value outside the distribution's interval"""
    monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
    monkeypatch.setattr("getpass.getuser", get_user_corneau)
    with pytest.raises(ValueError) as exc_info:
        orion.core.cli.main(
            [
                "insert",
                "-n",
                "test_insert_two_hyperparameters",
                "-c",
                "./orion_config_random.yaml",
                "./black_box.py",
                "-x=4",
                "-y=100",
            ]
        )
    assert "Value 100 is outside of" in str(exc_info.value)