assertSameContents(child4, found, _skipProps);
}
@Test
public void testDeleteById() throws Exception {
HarvesterSetting parent = _repo.save(newSetting().setName("2"));
_repo.save(newSetting().setParent(parent).setName("2"));
HarvesterSetting child3 = _repo.save(newSetting().setParent(parent).setName("2"));
_repo.save(newSetting().setParent(child3).setName("4"));
_repo.delete(parent.getId());
assertEquals(0, _repo.count());