@Test(expected = es.ieci.tecdoc.fwktd.audit.core.exception.AuditoriaException.class)
public void testSaveKO() {

	TrazaAuditoriaVO traza1 = new TrazaAuditoriaVO();
	traza1.setAppId(new Long(1));
	traza1.setEventType(new Long(1));
	traza1.setEventDate(new Date());
	// userId = null para forzar el fallo
	traza1.setUserId(null);
	traza1.setUserName("user name 1");
	traza1.setUserHostName("user host name");
	auditoriaService.audit(traza1);
}