@Test
public void testAssignTaskstakeholders() {


	String taskStakeholderId = "espiegelberg";
	
	Task task = TaskModelProvider.getFactory().newTask();
	InternalPeopleAssignments peopleAssignments = peopleAssignmentHelper.getNullSafePeopleAssignments(task);
	
	WorkItem workItem = new WorkItemImpl();		
	workItem.setParameter(PeopleAssignmentHelper.TASKSTAKEHOLDER_ID, taskStakeholderId);
	peopleAssignmentHelper.assignTaskStakeholders(workItem, peopleAssignments);
	assertEquals(1, peopleAssignments.getTaskStakeholders().size());
	OrganizationalEntity organizationalEntity1 = peopleAssignments.getTaskStakeholders().get(0);		
	assertTrue(organizationalEntity1 instanceof User);				
	assertEquals(taskStakeholderId, organizationalEntity1.getId());
	
}