AbstractBigtableConnection implements Connection, CommonConnection, Closeable { @Override public String toString() { return MoreObjects.toStringHelper(AbstractBigtableConnection.class) .add("project", settings.getProjectId()) .add("instance", settings.getInstanceId()) .add("dataHost", settings.getDataHost()) .add("tableAdminHost", settings.getAdminHost()) .toString(); } AbstractBigtableConnection(Configuration conf); protected  AbstractBigtableConnection(
      Configuration conf, boolean managed, ExecutorService pool, User user); @Override Configuration getConfiguration(); @Override Table getTable(TableName tableName); @Override BufferedMutator getBufferedMutator(BufferedMutatorParams params); HBaseRequestAdapter createAdapter(TableName tableName); @Override BufferedMutator getBufferedMutator(TableName tableName); @Deprecated Table getTable(String tableName); @Override RegionLocator getRegionLocator(TableName tableName); @Override void abort(final String msg, Throwable t); @Override boolean isClosed(); @Override boolean isAborted(); @Override void close(); @Override String toString(); @Override abstract Admin getAdmin(); BigtableOptions getOptions(); @Override BigtableHBaseSettings getBigtableSettings(); Set<TableName> getDisabledTables(); BigtableApi getBigtableApi();  }
@Test public void testToString() { String abstractTableToStr = connection.toString(); assertThat(abstractTableToStr, containsString("project=" + PROJECT_ID)); assertThat(abstractTableToStr, containsString("instance=" + INSTANCE_ID)); assertThat(abstractTableToStr, containsString("dataHost=" + HOST_NAME)); assertThat(abstractTableToStr, containsString("tableAdminHost=" + HOST_NAME)); }