コード例 #1
0
 @Test(expected = JaloSystemException.class)
 public void testAssignedUserCheck() {
   createWorkflowActionTemplate(
       UserManager.getInstance().getAnonymousCustomer(),
       "cyclic action",
       WorkflowAction.getNormalActionType(),
       testTemplate);
   fail(
       "The user can not be assigned to the action, because it has no read access to type WorkflowAction");
 }