assertEquals("P\t1\tmytest\tuser\tINDEX_1\tid,name,password\tage,name\n",
new String(buf.array(), 0, buf.limit()));
IoBuffer buffer = IoBuffer.allocate(4);
buffer.put("0\t1\n".getBytes());
buffer.flip();
assertEquals(1, cmd.getLatch().getCount());
assertTrue(cmd.decode(null, buffer));
assertEquals(0, cmd.getResponseStatus());
assertEquals(1, cmd.getNumColumns());