ScriptStepFactory { public static ScriptStep createSleepTime(String delay) { ScriptStep sleep = new ScriptStep(); sleep.setType(ScriptConstants.SLEEP); sleep.setComments("SLEEP " + delay); RequestData data = new RequestData(); data.setType(ScriptConstants.SLEEP); data.setKey(ScriptConstants.TIME); data.setValue(delay); Set<RequestData> ds = new HashSet<RequestData>(); ds.add(data); sleep.setData(ds); return sleep; }  static ScriptStep createVariable(String key, String value); static ScriptStep createThinkTime(String minTime, String maxTime); static ScriptStep createAuthentication(String userName, String password, String realm, AuthScheme scheme, String host, String port); static ScriptStep createSleepTime(String delay); static ScriptStep createLogic(String name, String script); static ScriptStep createCookie(String name, String value, String domain, String path); static ScriptStep createClearCookies();  }
@Test public void testCreateSleepTime_1() throws Exception { String delay = ""; ScriptStep result = ScriptStepFactory.createSleepTime(delay); assertNotNull(result); }