public static final void assertTaskUncompleted ( final String taskId ) { Validate . notNull ( taskId ) ; apiCallback . debug ( LogMessage . TASK_2 , taskId ) ; try { getTaskInstanceAssertable ( ) . taskIsUncompleted ( taskId ) ; } catch ( final AssertionError ae ) { apiCallback . fail ( ae , LogMessage . ERROR_TASK_2 , taskId ) ; } }
Asserts the task with the provided id is pending completion .