task.setTaskID( new TaskID( 1 ) );
task.setUserID( new UserID( 1 ) );
task.setTaskDescription( "Task Description" );
task.setTaskExpirationDate( new Date() );
task.setSourceTokenID( new TokenID( 1 ) );
task.setTaskStatus( Task.TASK_INCOMPLETE );
task.setInstanceID( new InstanceID( 1 ) );
TaskID taskID = dao.insertTask( task );
task.setTaskID( taskID );
task.setUserID( new UserID( 2 ) );
task.setTaskDescription( "Task Description 2" );
task.setSourceTokenID( new TokenID( 2 ) );
task.setTaskStatus( Task.TASK_COMPLETE );
task.setInstanceID( new InstanceID( 2 ) );
taskID = dao.updateTask( task );
assertNotNull( "TaskID should not be null", taskID );