It is not clear why we have assertEquals in this type of constructions
try {
assertEquals(CAPACITY_NORMAL, this.channel1.read(buf));
fail("Should throw ClosedChannelException");
} catch (ClosedChannelException e) {
// correct
}
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
