XConnection connectionA = new PipedConnection(new Object[0]);
XConnection connectionB = new PipedConnection(
new Object[] { connectionA });
java_remote_bridge bridgeA = new java_remote_bridge(
new java_environment(null), null,
new Object[] { protocol, connectionA, new TestInstanceProvider() });
java_remote_bridge bridgeB = new java_remote_bridge(
new java_environment(null), null,
new Object[] { protocol, connectionB, null });
testGetInstance(bridgeA, bridgeB);
testLifeCycle(bridgeA, bridgeB);
}