@Test
public void testAssignBusinessAdministrators() {


	String businessAdministratorId = "espiegelberg";
	
	Task task = TaskModelProvider.getFactory().newTask();
	PeopleAssignments peopleAssignments = peopleAssignmentHelper.getNullSafePeopleAssignments(task);
	
	WorkItem workItem = new WorkItemImpl();		
	workItem.setParameter(PeopleAssignmentHelper.BUSINESSADMINISTRATOR_ID, businessAdministratorId);
	peopleAssignmentHelper.assignBusinessAdministrators(workItem, peopleAssignments);
	assertEquals(3, peopleAssignments.getBusinessAdministrators().size());
	OrganizationalEntity organizationalEntity1 = peopleAssignments.getBusinessAdministrators().get(0);
	assertTrue(organizationalEntity1 instanceof User);
	assertEquals("Administrator", organizationalEntity1.getId());
	OrganizationalEntity organizationalEntity2 = peopleAssignments.getBusinessAdministrators().get(1);        
       assertTrue(organizationalEntity2 instanceof Group);              
       assertEquals("Administrators", organizationalEntity2.getId());
       OrganizationalEntity organizationalEntity3 = peopleAssignments.getBusinessAdministrators().get(2);      
       assertTrue(organizationalEntity3 instanceof User);              
       assertEquals(businessAdministratorId, organizationalEntity3.getId());
}