### Question:
ManifestPusher implements RegistryEndpointProvider<DescriptorDigest> { @Override public BlobHttpContent getContent() { return new BlobHttpContent( Blobs.from(manifestTemplate), manifestTemplate.getManifestMediaType()); } ManifestPusher(
      RegistryEndpointRequestProperties registryEndpointRequestProperties,
      ManifestTemplate manifestTemplate,
      String imageTag,
      EventHandlers eventHandlers); @Override BlobHttpContent getContent(); @Override List<String> getAccept(); @Override DescriptorDigest handleHttpResponseException(ResponseException responseException); @Override DescriptorDigest handleResponse(Response response); @Override URL getApiRoute(String apiRouteBase); @Override String getHttpMethod(); @Override String getActionDescription();  }### Answer:
@Test public void testGetContent() throws IOException { BlobHttpContent body = testManifestPusher.getContent(); Assert.assertNotNull(body); Assert.assertEquals(V22ManifestTemplate.MANIFEST_MEDIA_TYPE, body.getType()); ByteArrayOutputStream bodyCaptureStream = new ByteArrayOutputStream(); body.writeTo(bodyCaptureStream); String v22manifestJson = new String(Files.readAllBytes(v22manifestJsonFile), StandardCharsets.UTF_8); Assert.assertEquals( v22manifestJson, new String(bodyCaptureStream.toByteArray(), StandardCharsets.UTF_8)); }