checkExpectationsSatisfied();
}
public void testSendToInaccessibleChanneFails() throws ChannelException {
final HashedVersion connectSig = HashedVersion.unsigned(0);
deltaChannel = new MockWaveletDeltaChannel();
cc = new ConcurrencyControl(ccLogger, connectSig);
operationChannel = new OperationChannelImpl(opLogger, deltaChannel, cc,
Accessibility.READ_ONLY);
operationChannel.setListener(listener);
operationChannel.onConnection(connectSig, connectSig);
try {
sendAndCheckRandomOp(operationChannel, connectSig.getVersion(), connectSig.getHistoryHash());
fail("Expected a channel exception");
} catch (ChannelException expected) {
}
}