.execute(new Command<Void>() {
public Void execute(CommandContext commandContext) {
Calendar calendar = new GregorianCalendar();
MessageEventSubscriptionEntity messageEventSubscriptionEntity1 = new MessageEventSubscriptionEntity();
messageEventSubscriptionEntity1.setEventName("messageName");
messageEventSubscriptionEntity1.setActivityId("someActivity");
calendar.set(2001, 1, 1);
messageEventSubscriptionEntity1.setCreated(calendar.getTime());
messageEventSubscriptionEntity1.insert();
MessageEventSubscriptionEntity messageEventSubscriptionEntity2 = new MessageEventSubscriptionEntity();
messageEventSubscriptionEntity2.setEventName("messageName");
messageEventSubscriptionEntity2.setActivityId("someActivity");
calendar.set(2000, 1, 1);
messageEventSubscriptionEntity2.setCreated(calendar.getTime());
messageEventSubscriptionEntity2.insert();
SignalEventSubscriptionEntity signalEventSubscriptionEntity3 = new SignalEventSubscriptionEntity();
signalEventSubscriptionEntity3.setEventName("messageName2");
signalEventSubscriptionEntity3.setActivityId("someOtherActivity");
calendar.set(2002, 1, 1);