### Question:
ConfigDeployRequestVnf { @Override public String toString() { final StringBuilder sb = new StringBuilder("{\"config-deploy-request\":{"); sb.append("\"resolution-key\":").append("\"").append(resolutionKey).append("\""); sb.append(", \"config-deploy-properties\":").append(configDeployPropertiesForVnf.toString()); sb.append('}'); sb.append('}'); return sb.toString(); }  String getResolutionKey(); void setResolutionKey(String resolutionKey); ConfigDeployPropertiesForVnf getConfigDeployPropertiesForVnf(); void setConfigDeployPropertiesForVnf(ConfigDeployPropertiesForVnf configDeployPropertiesForVnf); @Override String toString();  }### Answer:
@Test public void testtoString() { configDeployPropertiesForVnf.setServiceInstanceId("service-instance-id"); configDeployPropertiesForVnf.setServiceModelUuid("service-model-uuid"); configDeployPropertiesForVnf.setVnfCustomizationUuid("vnf-customization-uuid"); configDeployPropertiesForVnf.setVnfId("vnf-id"); configDeployPropertiesForVnf.setVnfName("vnf-name"); configDeployRequestVnf.setConfigDeployPropertiesForVnf(configDeployPropertiesForVnf); final StringBuilder sb = new StringBuilder("{\"config-deploy-request\":{"); sb.append("\"resolution-key\":").append("\"").append(resolutionKey).append("\""); sb.append(", \"config-deploy-properties\":").append(configDeployPropertiesForVnf.toString()); sb.append('}'); sb.append('}'); String Expexted = sb.toString(); assertEquals(Expexted, configDeployRequestVnf.toString()); }