QueryResultMetaData { public int getColumnCount() throws SQLException { return resultSetMetaData.getColumnCount(); } QueryResultMetaData(final ResultSetMetaData resultSetMetaData, final ShardingRule shardingRule);  QueryResultMetaData(final ResultSetMetaData resultSetMetaData, final EncryptRule encryptRule);  QueryResultMetaData(final ResultSetMetaData resultSetMetaData); int getColumnCount(); String getColumnLabel(final int columnIndex); String getColumnName(final int columnIndex); Integer getColumnIndex(final String columnLabel); boolean isCaseSensitive(final int columnIndex); Optional<ShardingEncryptor> getShardingEncryptor(final int columnIndex);  }
@Test public void assertGetColumnCount() throws SQLException { assertThat(queryResultMetaData.getColumnCount(), is(1)); }