public void testAddApprovalRequest() throws Exception {
DummyApprovalRequest nonExecutableRequest = new DummyApprovalRequest(reqadmin, null, caid, SecConst.EMPTY_ENDENTITYPROFILE, false);
// Test that the approvalrequest doesn't exists.
Collection<ApprovalDataVO> result = approvalSessionRemote.findApprovalDataVO(admin1, nonExecutableRequest.generateApprovalId());
assertTrue(result.size() == 0);
approvalSessionRemote.addApprovalRequest(admin1, nonExecutableRequest, gc);
// Test that the approvalRequest exists now
result = approvalSessionRemote.findApprovalDataVO(admin1, nonExecutableRequest.generateApprovalId());