assertEquals("c", ((List<?>)e.getProperty("array")).get(0));
}
public void testEmbeddable() throws EntityNotFoundException {
Person p = new Person();
p.setName(new Name());
p.getName().setFirst("jimmy");
p.getName().setLast("jam");
p.setAnotherName(new Name());
p.getAnotherName().setFirst("anotherjimmy");
p.getAnotherName().setLast("anotherjam");
makePersistentInTxn(p, TXN_START_END);
assertNotNull(p.getId());