@Test
public void canWriteLargestAtomAfterFillingBuffer() throws Exception
{
byte[] bytes = new byte[300];
ChannelBuffer wrappedBuffer = ChannelBuffers.wrappedBuffer( bytes );
wrappedBuffer.resetWriterIndex();
BlockLogBuffer buffer = new BlockLogBuffer( wrappedBuffer );
byte[] bytesValue = new byte[255];
bytesValue[0] = 1;
bytesValue[254] = -1;