assertEquals(action.getAllBrowsers(), action.selectedBrowsers);
}
private void setUpRequestWithBrowserIds(String... browserIds) {
Map<String, String[]> requestMap = new HashMap<String, String[]>();
HttpServletRequest request = new DummyHttpRequest(requestMap);
String[] values = new String[browserIds.length];
System.arraycopy(browserIds, 0, values, 0, browserIds.length);
requestMap.put("browserId", values);
ServletActionContext.setRequest(request);
}