"The attribute named 'department' in the entity named 'Employee' is not a toMany relationship! Expected an NSArray, but got null.",
exception.getMessage());
}
// Test failure where key is to-one fault
ec.revert();
ec.invalidateAllObjects();
e = (Employee) ec.faultForGlobalID(eGid, ec);
assertTrue(EOFaultHandler.isFault(e.storedValueForKey(Employee.COMPANY_KEY)));
try {