### Question:
PayloadClient { public static Optional<String> resumeTrafficFormat(String vnfName) throws JsonProcessingException { ResumeTrafficAction payloadResult = new ResumeTrafficAction(); ConfigurationParametersResumeTraffic configParams = new ConfigurationParametersResumeTraffic(); configParams.setVnfName(vnfName); payloadResult.setConfigurationParameters(configParams); return Optional.of(mapper.writeValueAsString(payloadResult)); } private  PayloadClient(); static Optional<String> upgradeFormat(Optional<String> payload, String vnfName); static Optional<String> distributeTrafficFormat(Optional<String> payload, String vnfName); static Optional<String> distributeTrafficCheckFormat(Optional<String> payload, String vnfName); static Optional<String> resumeTrafficFormat(String vnfName); static Optional<String> quiesceTrafficFormat(Optional<String> payload, String vnfName); static Optional<String> startStopFormat(String aicIdentity); static Optional<String> healthCheckFormat(String vnfName, String vnfHostIpAddress); static Optional<String> snapshotFormat(String vmId, String identityUrl);  }### Answer:
@Test public void resumeTrafficFormatTest() throws Exception { String payloadResult = "{\"configuration-parameters\":{\"vnf_name\":\"vnfName1\"}}"; Optional<String> payloadClient = PayloadClient.resumeTrafficFormat("vnfName1"); assertEquals(payloadResult, payloadClient.get()); }