  @Test
  public void openStringCFWithTwoSchemes() throws Exception
  {

    final MyConnectionFactory factory = create( new String[] { Protocols.FTP.protocol(), Protocols.HTTP.protocol() },
        1 );
    registerConnectionFactory( factory );

    Connection returnedConn = this.connectorService.open( Protocols.HTTP.url() );
    assertEquals( factory.getConnection(), returnedConn );

    returnedConn = this.connectorService.open( Protocols.FTP.url() );
    assertEquals( factory.getConnection(), returnedConn );
  }