log.trace(">testReject()");
DummyApprovalRequest nonExecutableRequest = new DummyApprovalRequest(reqadmin, null, caid, SecConst.EMPTY_ENDENTITYPROFILE, false);
approvalSessionRemote.addApprovalRequest(reqadmin, nonExecutableRequest, gc);
Approval approval1 = new Approval("ap1test");
approvalExecutionSessionRemote.approve(admin1, nonExecutableRequest.generateApprovalId(), approval1, gc);
Collection<ApprovalDataVO> result = approvalSessionRemote.findApprovalDataVO(admin1, nonExecutableRequest.generateApprovalId());
ApprovalDataVO next = result.iterator().next();
assertTrue("Status = " + next.getStatus(), next.getStatus() == ApprovalDataVO.STATUS_WAITINGFORAPPROVAL);
assertTrue(next.getRemainingApprovals() == 1);