DaemonOperationResult implements OperationResult { public void setWatchList(ArrayList<FolderTO> watchList) { this.watchList = watchList; } DaemonOperationResult();  DaemonOperationResult(DaemonResultCode resultCode);  DaemonOperationResult(DaemonResultCode resultCode, ArrayList<FolderTO> watchList); DaemonResultCode getResultCode(); void setResultCode(DaemonResultCode resultCode); ArrayList<FolderTO> getWatchList(); void setWatchList(ArrayList<FolderTO> watchList);  }
@Test public void setWatchList() { ArrayList<FolderTO> newList = new ArrayList<FolderTO>(); result.setWatchList(newList); ArrayList<FolderTO> res = result.getWatchList(); assertNotNull(res); assertTrue(res.isEmpty()); }