@pytest.mark.parametrize('id, expectation', [(WINDOW_HANDLE_1_ID, does_not_raise()), ('Not valid ID', pytest.raises(WindowHandleIdNotValidError))])
def test_window_handle_controller_remove_handle_by_id_invalid_error(id: str, expectation: Any, window_handle_controller: WindowHandleController) -> None:
    with expectation:
        (window_handle_controller.remove_handle_by_id(id) is not None)
@pytest.mark.parametrize('id, expectation', [(WINDOW_HANDLE_1_ID, does_not_raise()), ('Not valid ID', pytest.raises(WindowHandleIdNotValidError))])
def test_window_handle_controller_remove_handle_by_id_invalid_error(id: str, expectation: Any, window_handle_controller: WindowHandleController) -> None:
    with expectation:
        (window_handle_controller.remove_handle_by_id(id) is not None)