@Test
public void testEmptyBuffer() throws IOException, TransportException {

  S3TransportSerializer serializer = mock(S3TransportSerializer.class);
  S3TransportBuffer buffer = new S3TransportBuffer(5, false, serializer);
  assertEquals(true, buffer.isEmpty());
}