check(employee, employee2);
}
@Test
public void testImpliedProperties() throws IOException {
Manager manager = makeManager();
Employee employeeA = makeEmployee();
Employee employeeB = makeEmployee();
// A -> manager -> B
employeeA.setManager(manager);
manager.getEmployees().add(employeeB);
Employee employeeA2 = deepPack(Employee.class, employeeA);
assertEquals(2, employeeA2.getManager().getEmployees().size());
for (Employee toTest : employeeA2.getManager().getEmployees()) {
if (employeeA.equals(toTest)) {