@Test
public void testWrite$Twice() throws Exception {

    final Buffer value1 = Buffer.ascii("TESTDATA");
    final Buffer value2 = Buffer.ascii("TESTDATA");
    codec.write(value1);
    final BufferState state = codec.write(value2);
    assertEquals(BufferState.NOT_EMPTY, state);
    assertEquals(false, codec.full());
    assertEquals(false, codec.empty());
    assertEquals(0L, codec.getWriteCounter());
}