@Test
public void testGetConnectionHash() throws Exception {

  provider.setName( "mysql" ); //$NON-NLS-1$
  provider.setUsername( "username" ); //$NON-NLS-1$
  ArrayList result = (ArrayList) provider.getConnectionHash();
  Assert.assertEquals( 3, result.size() );
  Assert.assertEquals( "org.pentaho.reporting.platform.plugin.connection.PentahoPoolDataSourceConnectionProvider", result.get( 0 ) );
  Assert.assertEquals( "mysql", result.get( 1 ) ); //$NON-NLS-1$
  Assert.assertEquals( "username", result.get( 2 ) ); //$NON-NLS-1$
}