SendNotificationToContactAccountingEvent extends BergamotAccountingEvent { @Override public final UUID getTypeId() { return TYPE_ID; } SendNotificationToContactAccountingEvent();  SendNotificationToContactAccountingEvent(long timestamp, UUID siteId, UUID notificationId, UUID objectId, AccountingNotificationType notificationType, UUID contact, String engine, String messageType, String messageAddress, String messageId);  SendNotificationToContactAccountingEvent(UUID siteId, UUID notificationId, UUID objectId, AccountingNotificationType notificationType, UUID contact, String engine, String messageType, String messageAddress, String messageId); @Override final UUID getTypeId(); UUID getNotificationId(); void setNotificationId(UUID notificationId); UUID getObjectId(); void setObjectId(UUID objectId); AccountingNotificationType getNotificationType(); void setNotificationType(AccountingNotificationType notificationType); UUID getContact(); void setContact(UUID contact); String getEngine(); void setEngine(String engine); String getMessageType(); void setMessageType(String messageType); String getMessageAddress(); void setMessageAddress(String messageAddress); String getMessageId(); void setMessageId(String messageId); String toString(); @Override void pack(ByteBuffer into); @Override void unpack(ByteBuffer from); @Override int hashCode(); @Override boolean equals(Object obj); static final UUID TYPE_ID; }
@Test public void hasTypeId() { assertThat(new SendNotificationToContactAccountingEvent().getTypeId(), is(notNullValue())); }
@Test public void checkTypeId() { assertThat(new SendNotificationToContactAccountingEvent().getTypeId(), is(equalTo(UUID.fromString("01fb5dd1-e69f-403c-8847-c3a3f572f8d8")))); }