public ConnectionDetails getConnectionDetails( IMetaStore metaStore, String key, String name ) {
    ConnectionProvider<? extends ConnectionDetails> connectionProvider = getConnectionProvider( key );
    if ( connectionProvider != null ) {
      Class<? extends ConnectionDetails> clazz = connectionProvider.getClassType();
      return loadElement( getMetaStoreFactory( metaStore, clazz ), name );
    }
    return null;
  }
@Test
  public void testGetConnectionDetailsNull() {
    Assert.assertNull( connectionManager.getConnectionDetails( DOES_NOT_EXIST ) );
  }