public boolean usesBuckets( @NonNull VFSConnectionDetails details ) throws KettleException {
    return details.hasBuckets() && getResolvedRootPath( details ) == null;
  }
@Test
  public void testUsesBucketsReturnsTrueIfHasBucketsAndNoRootPath() throws KettleException {

    when( vfsConnectionDetails.hasBuckets() ).thenReturn( true );
    when( vfsConnectionDetails.getRootPath() ).thenReturn( null );
    assertTrue( vfsConnectionManagerHelper.usesBuckets( vfsConnectionDetails ) );
  }