nonExecutableRequest = new DummyApprovalRequest(reqadmin, null, caid, SecConst.EMPTY_ENDENTITYPROFILE, false);
approvalSessionRemote.addApprovalRequest(reqadmin, nonExecutableRequest, gc);
rejection = new Approval("rejectiontest2");
approvalSessionRemote.reject(admin1, nonExecutableRequest.generateApprovalId(), rejection, gc);
result = approvalSessionRemote.findApprovalDataVO(admin1, nonExecutableRequest.generateApprovalId());
next = (ApprovalDataVO) result.iterator().next();
assertTrue("Status = " + next.getStatus(), next.getStatus() == ApprovalDataVO.STATUS_REJECTED);
assertTrue(next.getRemainingApprovals() == 0);
// Try to approve a rejected request