@Override
    public PublishArtifactResponse publishArtifactResponse(String responseBody) {
        return PublishArtifactResponse.fromJSON(responseBody);
    }
@Test
    public void publishArtifactResponse_shouldDeserializeFromJson() {
        final ArtifactMessageConverterV2 converter = new ArtifactMessageConverterV2();

        final PublishArtifactResponse response = converter.publishArtifactResponse("""
                {
                  "metadata": {
                    "artifact-version": "10.12.0"
                  }
                }""");


        MatcherAssert.assertThat(response.getMetadata().size(), is(1));
        MatcherAssert.assertThat(response.getMetadata(), hasEntry("artifact-version", "10.12.0"));
    }