assertEquals( users.get( "darth" ), task1.getTaskData().getActualOwner() );
// Check is Delegated
responseHandler = new BlockingTaskOperationResponseHandler();
client.delegate( taskId, users.get( "darth" ).getId(), users.get( "tony" ).getId(), responseHandler );
responseHandler.waitTillDone(DEFAULT_WAIT_TIME);
getTaskResponseHandler = new BlockingGetTaskResponseHandler();
client.getTask( taskId, getTaskResponseHandler );
Task task2 = getTaskResponseHandler.getTask();
assertTrue( task2.getPeopleAssignments().getPotentialOwners().contains( users.get( "darth" ) ) );