@Before
public void prepare () throws PropertyVetoException, SQLException {
node1.isServer = false;
node2.isServer = true;
this.node1.name = "LNPayment12";
this.node2.name = "LNPayment21";
processor12 = new LNPaymentProcessorImpl(contextFactory12, dbHandler1, this.node1);
processor21 = new LNPaymentProcessorImpl(contextFactory21, dbHandler2, this.node2);
channel12 = new EmbeddedChannel(new ProcessorHandler(processor12, "LNPayment12"));
channel21 = new EmbeddedChannel(new ProcessorHandler(processor21, "LNPayment21"));
Message m = (Message) channel21.readOutbound();
assertNull(m);
}
LNPaymentHandlerTest.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:thunder
作者:
评论列表
文章目录