}
}
public void testCreateAndUpdateAndRemoveThickness() throws Exception {
log.warn("Creating a thickness");
Thickness thickness = new Thickness(new BigDecimal("10.01"));
dao.saveThickness(thickness);
Integer id = thickness.getId();
thickness = dao.getThickness(id);
assertEquals(thickness, new Thickness(new BigDecimal("10.01")));
log.warn("Thickness created: " + thickness);
thickness.setValue(new BigDecimal("3.14"));
dao.saveThickness(thickness);
log.warn("Thickness updated");
thickness = dao.getThickness(id);
assertEquals(thickness, new Thickness(new BigDecimal("3.14")));
log.warn("Thickness: " + thickness);
dao.removeThickness(thickness);
log.warn("Thickness removed");
}