### Question:
ResourceInput implements Serializable { @Override public String toString() { ObjectMapper mapper = new ObjectMapper(); mapper.configure(SerializationFeature.WRAP_ROOT_VALUE, false); String jsonStr = ""; try { jsonStr = mapper.writeValueAsString(this); } catch (JsonProcessingException e) { logger.error("JsonProcessingException", e); } return jsonStr; }  String getVnfId(); void setVnfId(String vnfId); ModelInfo getVfModelInfo(); void setVfModelInfo(ModelInfo vfModelInfo); @JsonProperty("requestsInputs") String getRequestsInputs(); @JsonProperty("requestsInputs") void setRequestsInputs(String requestsInputs); @JsonProperty("resourceInstanceName") String getResourceInstanceName(); @JsonProperty("resourceInstanceName") void setResourceInstanceName(String resourceInstanceName); @JsonProperty("resourceInstanceDes") String getResourceInstanceDes(); @JsonProperty("resourceInstanceDes") void setResourceInstanceDes(String resourceInstanceDes); @JsonProperty("globalSubscriberId") String getGlobalSubscriberId(); @JsonProperty("globalSubscriberId") void setGlobalSubscriberId(String globalSubscriberId); @JsonProperty("serviceType") String getServiceType(); @JsonProperty("serviceType") void setServiceType(String serviceType); @JsonProperty("serviceInstanceId") String getServiceInstanceId(); @JsonProperty("serviceInstanceId") void setServiceInstanceId(String serviceId); @JsonProperty("operationId") String getOperationId(); @JsonProperty("operationId") void setOperationId(String operationId); @JsonProperty("serviceModelInfo") ModelInfo getServiceModelInfo(); @JsonProperty("serviceModelInfo") void setServiceModelInfo(ModelInfo serviceModelInfo); @JsonProperty("resourceModelInfo") ModelInfo getResourceModelInfo(); @JsonProperty("resourceModelInfo") void setResourceModelInfo(ModelInfo resourceModelInfo); @JsonProperty("resourceParameters") String getResourceParameters(); @JsonProperty("resourceParameters") void setResourceParameters(String resourceParameters); @JsonProperty("operationType") String getOperationType(); @JsonProperty("operationType") void setOperationType(String operationType); @JsonProperty("resourceInstancenUuid") String getResourceInstancenUuid(); @JsonProperty("resourceInstancenUuid") void setResourceInstancenUuid(String resourceInstancenUuid); @Override String toString();  }### Answer:
@Test public void testToString() { assert (ri.toString() != null); }