MessageImpl implements Message { @Override public UUID getId() { return id; } MessageImpl( Message message );  MessageImpl( String sourcePeerId, Object payload ); @Override String getSourcePeerId(); @Override UUID getId(); @Override T getPayload( Class<T> clazz ); @Override String getSender(); @Override void setSender( final String sender ); @Override String getPayload(); @Override String toString(); static final int MAX_SENDER_LEN; }
@Test public void testGetId() throws Exception { assertNotNull( message.getId() ); }