code: 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);
          }
      }
docs: Asserts the task with the provided id is pending completion.
  
  @param taskId
  the task's id to check for. May not be <code>null</code>