@Before
  @Override
  public void setUp() {

    expectedFlags = new LinkedList<TapResponseFlag>();

    // see:
    // raw.github.com/
    // membase/memcached/branch-20/include/memcached/protocol_binary.h
    // bin request header + tap mutation + a key
    ByteBuffer binReqTapMutation = ByteBuffer.allocate(24+16+1+8);

   // bin request, tap mutation
    binReqTapMutation.put(0, (byte)0x80).put(1, (byte)0x41);
    binReqTapMutation.put(3, (byte)0x01); // key length
    binReqTapMutation.put(5, (byte)0x06); // datatype
    binReqTapMutation.put(11, (byte)0x09); // body length 1 key 8 value
    // the flags themselves, 0x0200 for four bytes starting at 32
    binReqTapMutation.put(33, (byte)0x03);

    // key and value
    binReqTapMutation.put(40, (byte)'a');
    binReqTapMutation.put(48, (byte)42);


    responsebytes = binReqTapMutation.array();

    instance = new ResponseMessage(responsebytes);
  }
Test ResponseMessage decoding when the server responds with the flags
incorrectly in host byteorder.
src/test/java/net/spy/memcached/tapmessage/ResponseMessageWrongOrderTest.java