metas:
  - apiVersion: v2
    publisher: testpub
    name: sharedVolume
    version: testver
    type: VS Code extension
    spec:
      containers:
        - image: testImg
          name: container1
          volumes:
            - mountPath: /duplicatedTestPath
              name: testVol
              ephemeral: false
      extensions:
        - https://test.extension1
        - https://test.extension2
  - apiVersion: v2
    publisher: testpub
    name: duplicated_elements2
    version: testver
    type: VS Code extension
    spec:
      containers:
        - image: testImg
          name: container1
          volumes:
            - mountPath: /duplicatedTestPath
              name: testVolWithDifferentName
      extensions:
        - https://test.extension2
expected:
  - apiVersion: v2
    id: testpub/sharedVolume/testver
    publisher: testpub
    name: sharedVolume
    version: testver
    type: theia plugin
    spec:
      containers:
        - image: testImg
          name: merged-testImg
          volumes:
            - mountPath: /duplicatedTestPath
              name: testVol
      extensions:
        - https://test.extension1
        - https://test.extension2
