public List<ConnectionProvider<? extends ConnectionDetails>> getProviders() {
    return Collections.list( this.connectionProviders.elements() );
  }
@Test
  public void testGetProviders() {
    addProvider();

    assertEquals( 1, connectionManager.getProviders().size() );
    assertEquals( TestConnectionWithBucketsProvider.SCHEME, connectionManager.getProviders().get( 0 ).getKey() );
  }