@Test public void one_list_entry_but_null_results_in_empty_string() { List<LoginScriptStep> steps = new ArrayList<LoginScriptStep>(); steps.add(null); String result = genoToTest.generate(steps); assertEquals("",result); }
public String generate(List<LoginScriptStep> steps) { StringBuilder sb = new StringBuilder(); generate(steps, sb); return sb.toString(); }
NetsparkerLoginScriptGenerator implements LoginScriptGenerator { public String generate(List<LoginScriptStep> steps) { StringBuilder sb = new StringBuilder(); generate(steps, sb); return sb.toString(); } }
NetsparkerLoginScriptGenerator implements LoginScriptGenerator { public String generate(List<LoginScriptStep> steps) { StringBuilder sb = new StringBuilder(); generate(steps, sb); return sb.toString(); }  }
NetsparkerLoginScriptGenerator implements LoginScriptGenerator { public String generate(List<LoginScriptStep> steps) { StringBuilder sb = new StringBuilder(); generate(steps, sb); return sb.toString(); }  String generate(List<LoginScriptStep> steps); }
NetsparkerLoginScriptGenerator implements LoginScriptGenerator { public String generate(List<LoginScriptStep> steps) { StringBuilder sb = new StringBuilder(); generate(steps, sb); return sb.toString(); }  String generate(List<LoginScriptStep> steps);  }