### Question:
JpaPageLayoutRepository implements PageLayoutRepository { @Override public PageLayout get(String id) { return manager.find(JpaPageLayout.class, Long.parseLong(id)); }  @Override JpaPageLayout getByPageLayoutCode(String codename); @Override List<PageLayout> getAll(); @Override List<PageLayout> getLimitedList(int offset, int limit); @Override int getCountAll(); @Override List<PageLayout> getAllUserSelectable(); @Override Class<? extends PageLayout> getType(); @Override PageLayout get(String id); @Override PageLayout save(PageLayout item); @Override void delete(PageLayout item);  }### Answer:
@Test public void get() { JpaPageLayout p = (JpaPageLayout) repository.get(VALID_ID.toString()); assertThat(p.getEntityId(), is(VALID_ID)); assertThat(p.getCode(), is(VALID_LAYOUT_CODE)); }