DaemonOperationResult implements OperationResult { public ArrayList<FolderTO> getWatchList() { return 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 testGetWatchList() { ArrayList<FolderTO> res = result.getWatchList(); assertNotNull(res); assertFalse(res.isEmpty()); assertTrue(res.contains(folder)); }