### Question:
News { public String getTitle() { return title; } News();  News(String title, String language, String content); String getTitle(); void setTitle(String title); String getLanguage(); void setLanguage(String language); String getContent(); void setContent(String content);  }### Answer:
@Test public void shouldCreateANews() throws Exception { News news = new News("Richard Wright has died", "EN", "The keyboard of Pink Floyd has died today"); tx.begin(); em.persist(news); tx.commit(); assertNotNull(news.getTitle(), "Id should not be null"); }