ScriptServiceUtil { public static StepDataTO requestDataToTransferObject(RequestData data) { StepDataTO ret = new StepDataTO(); ret.setKey(data.getKey()); ret.setValue(data.getValue()); ret.setType(data.getType()); ret.setPhase(data.getPhase().name()); return ret; } private  ScriptServiceUtil(); static ScriptTO scriptToTransferObject(Script script); static List<ScriptStepTO> scriptStepsToTransferobjectList(List<ScriptStep> steps); static Script transferObjectToScript(ScriptTO to); static ScriptStepTO scriptStepToTransferObject(ScriptStep step); static ScriptStepTO copy(ScriptStepTO step); static ScriptStep transferObjectToScriptStep(ScriptStepTO to); static StepDataTO requestDataToTransferObject(RequestData data); static StepDataTO copyStepDataTO(StepDataTO data); static RequestData transferObjectToRequestData(StepDataTO to); static ScriptDescription scriptToScriptDescription(Script script); static Script scriptDescriptionToScript(ScriptDescription sd); static ExternalScriptTO externalScriptToTO(ExternalScript script); static ExternalScript TOToExternalScript(ExternalScriptTO script);  }
@Test public void testRequestDataToTransferObject_1() throws Exception { RequestData data = new RequestData("", "", ""); StepDataTO result = ScriptServiceUtil.requestDataToTransferObject(data); assertNotNull(result); }