public void testUnmarshalAgainstExistingEntity() throws Exception {
final Marshaler marshaler = getMarshaler();
Assert.assertTrue(marshaler != null);
final Account e = getEntityBeanFactory().getEntityCopy(Account.class, false);
e.setVersion(1);
final AccountAddress aa1 = getEntityBeanFactory().getEntityCopy(AccountAddress.class, false);
final AccountAddress aa2 = getEntityBeanFactory().getEntityCopy(AccountAddress.class, true);
e.addAccountAddress(aa1);
e.addAccountAddress(aa2);
final Model m = marshaler.marshalEntity(e, MarshalOptions.UNCONSTRAINED_MARSHALING);
m.indexed("addresses[0]").getModel().setMarkedDeleted(true);