*/
@Test
public void testSparseProperties() throws IOException {
PersistentEmployee e = makePersistentEmployee();
e.setTrackedProperty("trackedProperty");
assertEquals(Collections.singleton("trackedProperty"), e.dirtyPropertyNames());
StringWriter out = new StringWriter();
flatpack.getPacker().pack(FlatPackEntity.entity(e), out);
assertFalse(out.toString().contains("name"));