### Question:
ContentManagerImpl extends BaseContentManager implements IContentManager { @Override public Response publish(String contentId, Map<String, Object> requestMap) { return this.contentEventManager.publish(contentId, requestMap); }  @Override Response upload(String contentId, File uploadedFile, String mimeType); @Override Response upload(String contentId, String fileUrl, String mimeType); @Override Response bundle(Request request, String version); @Override Response optimize(String contentId); @Override Response preSignedURL(String contentId, String fileName, String type); @Override Response publish(String contentId, Map<String, Object> requestMap); @Override Response review(String contentId, Request request); Response create(Map<String, Object> map, String channelId); @Override Response find(String contentId, String mode, List<String> fields); @Override Response updateAllContents(String originalId, Map<String, Object> map); @Override Response update(String contentId, Map<String, Object> map); @Override Response updateHierarchy(Map<String, Object> data); @Override Response linkDialCode(String channelId, Object reqObj, String mode, String contentId); @Override Response copyContent(String contentId, Map<String, Object> requestMap, String mode); @Override Response retire(String contentId); @Override Response acceptFlag(String contentId); @Override Response flag(String contentId, Map<String, Object> requestMap); @Override Response rejectFlag(String contentId); @Override Response syncHierarchy(String identifier); @Override Response reserveDialCode(String contentId, String channelId, Map<String, Object> request); @Override Response releaseDialcodes(String contentId, String channelId); @Override Response getContentHierarchy(String contentId, String bookMarkId, String mode, List<String> fields); @Override Response discardContent(String contentId); @Override Response rejectContent(String contentId, Map<String, Object> requestMap);  }### Answer:
@Ignore @Test public void contentManagerTest_01() throws Exception { String pubReq = "{\"request\": {\"content\": {\"publisher\": \"EkStep\",\"lastPublishedBy\": \"Ekstep\"}}}"; Map<String, Object> pubReqMap = mapper.readValue(pubReq, new TypeReference<Map<String, Object>>() { }); pubReqMap.put("publish_type", ContentWorkflowPipelineParams.Public.name().toLowerCase()); Response response = contentManager.publish(contentId, pubReqMap); assertEquals("OK", response.getResponseCode().toString()); assertEquals("Publish Operation for Content Id 'UT_Document_001' Started Successfully!", (String) response.getResult().get("publishStatus")); }