public void testIbbSessionRejection() {
MockServer mockServer = new MockServer();
final XmppSession xmppSession1 = new TestXmppSession(ROMEO, mockServer);
final XmppSession xmppSession2 = new TestXmppSession(JULIET, mockServer);
InBandByteStreamManager inBandBytestreamManager2 = xmppSession2.getExtensionManager(InBandByteStreamManager.class);
inBandBytestreamManager2.addByteStreamListener(new ByteStreamListener() {
@Override
public void byteStreamRequested(final ByteStreamEvent e) {
e.reject();
}
});