DaemonOperationResult implements OperationResult { public void setResultCode(DaemonResultCode resultCode) { this.resultCode = 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 testSetResultCode() { result.setResultCode(DaemonResultCode.NOK); DaemonResultCode res = result.getResultCode(); assertNotNull(res); assertEquals(DaemonResultCode.NOK, res); }