Payload { public String getSourcePeerId() { return sourcePeerId; } Payload( final Object request, String sourcePeerId ); T getMessage( Class<T> clazz ); String getSourcePeerId();  }
@Test public void testGetSourcePeerId() throws Exception { assertEquals( peerId, payload.getSourcePeerId() ); }