def METHOD_NAME(self, create_artifact_version, _extract_file_list):
    # given
    swagger_mock = self._get_swagger_mock()
    _extract_file_list.return_value = self.files
    # when
    track_to_existing_artifact(
        swagger_client=swagger_mock,
        project_id=self.project_id,
        path=["sub", "one"],
        artifact_hash=self.artifact_hash,
        parent_identifier=self.parent_identifier,
        entries=[("/path/to/file", "/path/to")],
        default_request_params={},
        exclude_directory_files=False,
    )
    # then
    create_artifact_version.assert_called_once_with(
        swagger_client=swagger_mock,
        project_id=self.project_id,
        artifact_hash=self.artifact_hash,
        parent_identifier=self.parent_identifier,
        files=self.files,
        default_request_params={},
    )