}
@Test
@Rollback(true)
public void save_cascadePersist() {
JpaRegion region = new JpaRegion();
region.setRegionWidgets(new ArrayList<RegionWidget>());
RegionWidget regionWidget = new JpaRegionWidget();
region.getRegionWidgets().add(regionWidget);
JpaRegion saved = (JpaRegion)repository.save(region);
manager.flush();
assertThat(saved.getRegionWidgets().size(), is(equalTo(1)));
RegionWidget actual = saved.getRegionWidgets().get(0);
assertThat(actual, is(sameInstance(regionWidget)));
assertThat(actual.getId(), is(notNullValue()));
}