### Question:
JpaPageLayoutRepository implements PageLayoutRepository { @Override public void delete(PageLayout item) { manager.remove(converter.convert(item)); }  @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 @Transactional(readOnly = false) @Rollback(true) public void delete() { PageLayout pl = repository.get(VALID_ID.toString()); assertThat(pl, is(notNullValue())); repository.delete(pl); pl = repository.get(VALID_ID.toString()); assertThat(pl, is(nullValue())); }