}
private static void saveParentAndChildHarvesterSetting(ServiceContext context) {
final String name = UUID.randomUUID().toString();
final HarvesterSettingRepository settingRepository = context.getBean(HarvesterSettingRepository.class);
settingRepository.save(new HarvesterSetting().setName(name).setValue("value"));
final HarvesterSetting parent = settingRepository.findOneByPath(name);
final HarvesterSetting child = new HarvesterSetting().setValue("childValue").setName("childName")
.setParent(parent);
settingRepository.save(child);
}