ResultSetMetaData md = rs.getMetaData();
assert md.getColumnCount() == 2;
expectedMetaData(md, 1, ByteBuffer.class.getName(), "JdbcBytes", "Keyspace1", FBUtilities.bytesToHex(a), Types.BINARY, BytesType.class.getSimpleName(), false, false);
expectedMetaData(md, 2, ByteBuffer.class.getName(), "JdbcBytes", "Keyspace1", FBUtilities.bytesToHex(b), Types.BINARY, BytesType.class.getSimpleName(), false, false);
CassandraResultSetMetaData cmd = md.unwrap(CassandraResultSetMetaData.class);
for (int i = 0; i < md.getColumnCount(); i++)
expectedMetaData(cmd, i+1,
ByteBuffer.class.getName(), Types.BINARY, BytesType.class.getSimpleName(), false, false,
ByteBuffer.class.getName(), Types.BINARY, BytesType.class.getSimpleName(), false, false);
}