region.setLocked(false);
region.setPage(new JpaPage());
region.setRegionWidgets(new ArrayList<RegionWidget>());
region.setRenderOrder(9);
JpaRegion converted = regionConverter.convert(region);
assertThat(converted, is(not(sameInstance(region))));
assertThat(converted, is(instanceOf(JpaRegion.class)));
assertThat(converted.getRegionWidgets(), is(equalTo(region.getRegionWidgets())));
assertThat(converted.getEntityId().toString(), is(equalTo(region.getId())));
assertThat(converted.getId(), is(equalTo(region.getId())));
assertThat(converted.getPage(), is(instanceOf(Page.class)));
assertThat(converted.getRenderOrder(), is(equalTo(region.getRenderOrder())));
assertThat(converted.isLocked(), is(equalTo(region.isLocked())));
}