def METHOD_NAME(self) -> None:
    plan = parse_plan(self.collection, self.plan(one_to_one=True)).apply_scoping(self.collection)
    data = [
        dict(catno='0', sfn='1'),
        dict(catno='1', sfn='1'),
        dict(catno='2', sfn='2'),
        dict(catno='3', sfn='2'),
        # dict(catno='4', sfn='2'), # This fails because the CE has multiple matches
    ]
    results = do_upload(self.collection, data, plan, self.agent.id)
    ces = set()
    for r in results:
        assert isinstance(r.record_result, Uploaded), r
        self.assertIsInstance(r.toOne['collectingevent'].record_result, Uploaded)
        ces.add(get_table('Collectionobject').objects.get(id=r.record_result.get_id()).collectingevent_id)
    # self.assertEqual(5, len(ces))
    self.assertEqual(4, len(ces))