ParamNode rootParamNode = ParamNode.convert(params.all());
entity2.edit(rootParamNode, "entity2");
assertFalse(Validation.hasErrors());
entity2.save();
entity2.refresh();
assertEquals("testNewEntity2", entity2.a);
assertEquals(true, entity2.b);
assertEquals(1, entity2.c);
assertEquals(city.getId(), entity2.city.id);