@SuppressWarnings( "unchecked" )
  @Nullable
  public <T extends VFSConnectionDetails> VFSConnectionProvider<T> getProvider(
    @NonNull ConnectionManager manager,
    @Nullable String key ) {
    return (VFSConnectionProvider<T>) manager.getConnectionProvider( key );
  }
@Test
  public void testGetProviderReturnsNullForNonExistingProviderInManager() {
    VFSConnectionProvider<VFSConnectionDetails> result =
      vfsConnectionManagerHelper.getProvider( connectionManager, "missingProvider1" );

    assertNull( result );
  }