def METHOD_NAME(self):
    shutil.copytree(
        self.data_dir.joinpath("simple_project"),
        self.source_dir.joinpath("simple_project"),
    )
    project = self.load_project(
        self.source_dir.joinpath("simple_project", "project.qgs")
    )
    offline_editing = QgsOfflineEditing()
    offline_converter = OfflineConverter(
        project,
        str(self.target_dir),
        "POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
        QgsProject.instance().crs().authid(),
        ["DCIM"],
        offline_editing,
        ExportType.Cable,
    )
    offline_converter.convert()
    exported_project = self.load_project(
        self.target_dir.joinpath("project_qfield.qgs")
    )
    if Qgis.QGIS_VERSION_INT < 31601:
        layer = exported_project.mapLayersByName("somedata (offline)")[0]
    else:
        layer = exported_project.mapLayersByName("somedata")[0]
    self.assertEqual(layer.customProperty("QFieldSync/sourceDataPrimaryKeys"), "pk")