new constructor
This commit is contained in:
@ -27,8 +27,7 @@ class SessionConfigTest extends StructureTest {
|
|||||||
TestData.registerTest(new SessionConfigTest(), "SessionConfig");
|
TestData.registerTest(new SessionConfigTest(), "SessionConfig");
|
||||||
}
|
}
|
||||||
public DataStructure createDataStructure() throws DataFormatException {
|
public DataStructure createDataStructure() throws DataFormatException {
|
||||||
SessionConfig cfg = new SessionConfig();
|
SessionConfig cfg = new SessionConfig((Destination)(new DestinationTest()).createDataStructure());
|
||||||
cfg.setDestination((Destination)(new DestinationTest()).createDataStructure());
|
|
||||||
cfg.setSignature((Signature)(new SignatureTest()).createDataStructure());
|
cfg.setSignature((Signature)(new SignatureTest()).createDataStructure());
|
||||||
Properties options = new Properties();
|
Properties options = new Properties();
|
||||||
options.setProperty("routerHost", "localhost");
|
options.setProperty("routerHost", "localhost");
|
||||||
|
Reference in New Issue
Block a user