@Test
public void testGetWhenKaleoTaskAssignmentsIsNotEmpty() {

	KaleoTaskInstanceToken kaleoTaskInstanceToken =
		KaleoRuntimeTestUtil.mockKaleoTaskInstanceToken(
			new KaleoTaskAssignmentInstance[] {
				KaleoRuntimeTestUtil.mockKaleoTaskAssignmentInstance(
					Role.class.getName(), 1),
				KaleoRuntimeTestUtil.mockKaleoTaskAssignmentInstance(
					User.class.getName(), 2)
			});
	WorkflowTaskAssigneesSupplier workflowTaskAssigneesSupplier =
		new WorkflowTaskAssigneesSupplier(kaleoTaskInstanceToken);
	List<WorkflowTaskAssignee> workflowTaskAssignees =
		workflowTaskAssigneesSupplier.get();
	int actualSize = workflowTaskAssignees.size();
	Assert.assertEquals(2, actualSize);
	KaleoRuntimeTestUtil.assertWorkflowTaskAssignee(
		Role.class.getName(), 1, workflowTaskAssignees.get(0));
	KaleoRuntimeTestUtil.assertWorkflowTaskAssignee(
		User.class.getName(), 2, workflowTaskAssignees.get(1));
}