@Test
public void shouldAccept9BitsAsLong() throws IOException {

    boundedChannel.write(9, Long.MAX_VALUE, ByteOrder.BigEndian);
    verify(channel).write(9, Long.MAX_VALUE, ByteOrder.BigEndian);
    verifyNoMoreInteractions(channel);
}