SendNotificationAccountingEvent extends BergamotAccountingEvent { @Override public final UUID getTypeId() { return TYPE_ID; } SendNotificationAccountingEvent();  SendNotificationAccountingEvent(long timestamp, UUID siteId, UUID notificationId, UUID objectId, AccountingNotificationType notificationType, int recipientCount, long escalatedAfter, UUID escalationId);  SendNotificationAccountingEvent(UUID siteId, UUID notificationId, UUID objectId, AccountingNotificationType notificationType, int recipientCount, long escalatedAfter, UUID escalationId); @Override final UUID getTypeId(); UUID getNotificationId(); void setNotificationId(UUID notificationId); UUID getObjectId(); void setObjectId(UUID objectId); AccountingNotificationType getNotificationType(); void setNotificationType(AccountingNotificationType notificationType); int getRecipientCount(); void setRecipientCount(int recipientCount); long getEscalatedAfter(); void setEscalatedAfter(long escalatedAfter); UUID getEscalationId(); void setEscalationId(UUID escalationId); 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 SendNotificationAccountingEvent().getTypeId(), is(notNullValue())); }
@Test public void checkTypeId() { assertThat(new SendNotificationAccountingEvent().getTypeId(), is(equalTo(UUID.fromString("fcafd43f-1b35-43a3-96db-8094f48c664a")))); }