public void assembleTestEntity(Account e) throws Exception {
e.setCurrency(load(Currency.class, pkCurrency));
e.setNestedEntity(load(NestedEntity.class, pkNestedEntity));
e.setParent(load(Account.class, pkAccountParent));
final Address address1 = create(Address.class, true);
final Address address2 = create(Address.class, true);
final AccountAddress aa1 = create(AccountAddress.class, true);
final AccountAddress aa2 = create(AccountAddress.class, true);
aa1.setAddress(address1);
aa2.setAddress(address2);