def METHOD_NAME(
    staff_api_client, warehouse, permission_manage_shipping
):
    # given
    id = "bh/"
    variables = {"id": id}
    # when
    response = staff_api_client.post_graphql(
        QUERY_WAREHOUSE, variables, permissions=[permission_manage_shipping]
    )
    # then
    content = get_graphql_content_from_response(response)
    assert len(content["errors"]) == 1
    assert content["errors"][0]["message"] == f"Couldn't resolve id: {id}."
    assert content["data"]["warehouse"] is None