}
@Test
public void testChange() {
Order expected = create("aaa", 2, true);
persiter.put(expected);
expected.setUser(create("z"));
Info info = new Info();
Address address = new Address();
info.getAddress().add(address);
expected.setInfo(info);
expected.getNotes().clear();
expected.getNotes().add("z");
expected.getItens().get(0).setProduct(create("z", "z"));
expected.getItens().remove(1);
persiter.put(expected);
Order result = persiter.find(Order.class, expected.getId());
assertEqualsOrder(expected, result);
}