Commit 1d112a80 authored by afreyssin's avatar afreyssin
Browse files

Adds a test for receiveNoWait on bridge destination.

parent b0f46b81
......@@ -87,6 +87,9 @@ public class BridgeTest extends TestCase {
assertEquals("Foreign message number "+i,msg.getText());
}
msg=(TextMessage) joramCons.receiveNoWait();
assertTrue(msg == null);
foreignCnx.close();
joramCnx.close();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment