}
}
public void testCreateAndUpdateAndRemoveOralQuote() throws Exception {
log.warn("Creating a oralQuote");
OralQuote oralQuote = new OralQuote("oralQuote", "description");
dao.saveOralQuote(oralQuote);
Integer id = oralQuote.getId();
oralQuote = dao.getOralQuote(id);
assertEquals(oralQuote.getName(), "oralQuote");
assertEquals(oralQuote.getDescription(), "description");
log.warn("OralQuote created: " + oralQuote);
oralQuote.setName("neworalQuote");
oralQuote.setDescription("other description");
dao.saveOralQuote(oralQuote);
log.warn("OralQuote updated");
oralQuote = dao.getOralQuote(id);
assertEquals(oralQuote.getName(), "neworalQuote");
assertEquals(oralQuote.getDescription(), "other description");
log.warn("OralQuote: " + oralQuote);
dao.removeOralQuote(oralQuote);
}