def METHOD_NAME(
    self, group: VehicleGroup, origin: ControlPoint, unit_type: GroundUnitType
) -> None:
    for unit in group.units:
        # The actual name is a String (the pydcs translatable string), which
        # doesn't define __eq__.
        name = str(unit.name)
        if name in self.front_line_units:
            raise RuntimeError(f"Duplicate front line unit: {name}")
        self.front_line_units[name] = FrontLineUnit(unit_type, origin)