fail("Should have thrown.");
} catch (UnresolvedForwardReference exception) {
// Expected
List<UnresolvedId> unresolvedIds = exception.getUnresolvedIds();
assertEquals(2, unresolvedIds.size());
UnresolvedId firstUnresolvedId = unresolvedIds.get(0);
assertEquals(3, firstUnresolvedId.getId());
assertEquals(Employee.class, firstUnresolvedId.getType());
UnresolvedId secondUnresolvedId = unresolvedIds.get(1);
assertEquals(firstUnresolvedId.getId(), secondUnresolvedId.getId());
assertEquals(Employee.class, secondUnresolvedId.getType());
}
}