DaemonOperationResult implements OperationResult { public DaemonResultCode getResultCode() { return resultCode; } 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 testGetResultCode() { DaemonResultCode res = result.getResultCode(); assertNotNull(res); assertEquals(DaemonResultCode.OK, res); }