// 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 {
// Company is a to-one fault
count = ERXEOControlUtilities.objectCountForToManyRelationship(e, Employee.COMPANY_KEY);
} catch (IllegalArgumentException exception) {