ScriptStepDataLookup { public static String getData(ScriptStep scriptStep) { switch (scriptStep.getType()) { case ScriptConstants.THINK_TIME: return getThinkTimeRepresentation(scriptStep.getData()); case ScriptConstants.SLEEP: return getSleepTimeRepresentation(scriptStep.getData()); case ScriptConstants.VARIABLE: return getVariableRepresentation(scriptStep.getData()); case ScriptConstants.REQUEST: return getRequestRepresentation(scriptStep); default: throw new NotImplementedException("Request representation is not implemented."); } }  static String getData(ScriptStep scriptStep);  }
@Test public void testGetData_1() throws Exception { ScriptStep scriptStep = new ScriptStep(); String result = ScriptStepDataLookup.getData(scriptStep); }