@Test
public void testGetWhenIndexIsZeroAndAssignmentIsNotNull() {

	String assigneeClassName = StringUtil.randomString();
	long assigneeClassPK = RandomTestUtil.randomLong();
	KaleoTaskInstanceToken kaleoTaskInstanceToken =
		_getKaleoTaskInstanceToken(
			KaleoRuntimeTestUtil.mockKaleoTaskAssignmentInstance(
				assigneeClassName, assigneeClassPK));
	LazyWorkflowTaskAssigneeList lazyWorkflowTaskAssigneeList =
		new LazyWorkflowTaskAssigneeList(kaleoTaskInstanceToken, null);
	KaleoRuntimeTestUtil.assertWorkflowTaskAssignee(
		assigneeClassName, assigneeClassPK,
		lazyWorkflowTaskAssigneeList.get(0));
	Assert.assertTrue(
		_executedMethodsNames.contains(
			"getFirstKaleoTaskAssignmentInstance"));
	Assert.assertFalse(
		_executedMethodsNames.contains("getKaleoTaskAssignmentInstances"));
}