### Question:
JpaTagRepository implements TagRepository { @Override public void delete(Tag item) { manager.remove(item instanceof JpaTag ? item : getByKeyword(item.getKeyword())); }  @Override List<Tag> getAll(); @Override List<Tag> getLimitedList(int offset, int limit); @Override Class<? extends Tag> getType(); @Override int getCountAll(); @Override JpaTag getByKeyword(String keyword); @Override Tag get(String id); @Override Tag save(Tag item); @Override void delete(Tag item);  }### Answer:
@Test @Transactional @Rollback(true) public void delete_invalid(){ String keyword = "abdhjdhlnews"; TagImpl tag = new TagImpl(keyword); assertNotNull(tag); repository.delete(tag); }