@Test
  public void testCreateConnection() throws Exception {
    Configuration configuration = TEST_UTIL.getConfiguration();
    Connection c1 = ConnectionFactory.createConnection(configuration);
    Connection c2 = ConnectionFactory.createConnection(configuration);
    // created from the same configuration, yet they are different
    assertTrue(c1 != c2);
    assertTrue(c1.getConfiguration() == c2.getConfiguration());
  }
Trivial test to verify that nobody messes with
{@link ConnectionFactory#createConnection(Configuration)}
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestConnection.java