Company company = Company.createCompany(ec, "Fetch Test Company");
Employee employee = Employee.createEmployee(ec, "Fetch", "Test", Boolean.FALSE, company);
Role role = Role.createRole(ec);
employee.addToRoles(role);
Paycheck paycheck = Paycheck.createPaycheck(ec, new BigDecimal(10), Boolean.FALSE, new NSTimestamp(), employee);
ec.saveChanges();
EOQualifier baseQualifier = Employee.FIRST_NAME.is("Fetch");
EOQualifier companyQualifier = Employee.COMPANY.dot(Company.NAME).is("Fetch Test Company");