use of net.i2p.data.router.RouterInfoTest in project i2p.i2p by i2p.
the class DatabaseStoreMessageTest method createDataStructure.
public DataStructure createDataStructure() throws DataFormatException {
DatabaseStoreMessage msg = new DatabaseStoreMessage(I2PAppContext.getGlobalContext());
RouterInfo info = (RouterInfo) new RouterInfoTest().createDataStructure();
msg.setMessageExpiration(Clock.getInstance().now());
msg.setUniqueId(666);
msg.setEntry(info);
return msg;
}
Aggregations