assertThat(pageLayout.getEntityId(), is(nullValue()));
repository.save(pageLayout);
Long newId = pageLayout.getEntityId();
assertThat(newId > 0, is(true));
PageLayout newLayout = repository.get(newId.toString());
assertThat(newLayout.getCode(), is(newCode));
assertThat(newLayout.getRenderSequence(), is(newRenderSeq));
assertThat(newLayout.getNumberOfRegions(), is(newNumRegions));
assertThat(newLayout.isUserSelectable(), is(newUserSelectable));
}