use of org.activiti.cloud.services.audit.jpa.events.TimerScheduledAuditEventEntity in project activiti-cloud by Activiti.
the class TimerEventConverterTest method checkConvertToEntityTimerScheduledEvent.
@Test
public void checkConvertToEntityTimerScheduledEvent() {
// given
CloudBPMNTimerScheduledEventImpl event = createTimerScheduledEvent();
// when
TimerScheduledAuditEventEntity auditEventEntity = (TimerScheduledAuditEventEntity) eventConverterTimerScheduled.convertToEntity(event);
// then
checkCloudAuditEvententity(auditEventEntity, event);
}
use of org.activiti.cloud.services.audit.jpa.events.TimerScheduledAuditEventEntity in project activiti-cloud by Activiti.
the class TimerEventConverterTest method checkConvertToAPITimerScheduledEvent.
@Test
public void checkConvertToAPITimerScheduledEvent() {
// given
TimerScheduledAuditEventEntity auditEventEntity = (TimerScheduledAuditEventEntity) eventConverterTimerScheduled.convertToEntity(createTimerScheduledEvent());
// when
CloudBPMNTimerScheduledEventImpl cloudEvent = (CloudBPMNTimerScheduledEventImpl) eventConverterTimerScheduled.convertToAPI(auditEventEntity);
checkCloudAuditEvententity(auditEventEntity, cloudEvent);
}
Aggregations