SignAgentAccountingEvent extends BergamotAccountingEvent { @Override public final UUID getTypeId() { return TYPE_ID; } SignAgentAccountingEvent();  SignAgentAccountingEvent(long timestamp, UUID siteId, UUID agentId, String commonName, String serial, UUID contact);  SignAgentAccountingEvent(UUID siteId, UUID agentId, String commonName, String serial, UUID contact); @Override final UUID getTypeId(); UUID getAgentId(); void setAgentId(UUID agentId); String getCommonName(); void setCommonName(String commonName); String getSerial(); void setSerial(String serial); UUID getContact(); void setContact(UUID contact); 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 SignAgentAccountingEvent().getTypeId(), is(notNullValue())); }
@Test public void checkTypeId() { assertThat(new SignAgentAccountingEvent().getTypeId(), is(equalTo(UUID.fromString("fdbc3042-d4a4-45bb-a54f-0ae8da9c6d44")))); }