void (String paramString, String... expected) { ParametersList params = new ParametersList(); params.addParametersString(paramString); assertEquals(asList(expected), params.getList()); List<String> lines = ParametersListUtil.parse(paramString, true); assertEquals(paramString, StringUtil.join(lines, " ")); }