@Test(expected = IOException.class)
public void shouldReject10BitsAsBytesAccummulated() throws IOException {

    boundedChannel.write(8, Byte.MAX_VALUE, ByteOrder.BigEndian);
    boundedChannel.write(2, Byte.MAX_VALUE, ByteOrder.BigEndian);
}