def METHOD_NAME(self):
    """try to create a "change" with an invalid area id
    """
    area_ids = [self.area1.document_id, -123456]
    change = DocumentChange(
        user=self.user1, change_type='created', document=self.waypoint,
        document_type=WAYPOINT_TYPE, area_ids=area_ids, user_ids=[]
    )
    try:
        self.session.add(change)
        self.session.flush()
    except Exception as exc:
        self.assertTrue('Invalid area id: -123456' in exc.orig.pgerror)
    else:
        self.fail('invalid area id not detected')