@EJB
private ItemServiceBean itemService;
@Test
public void testAuditInterceptor() {
Item item = new Item();
item.setName("testItem");
itemService.create(item);
item = itemService.getList().get(0);
// assert that no history entries were added since interceptors are disabled
assertEquals(0, History.getItemHistory().size());
}