protected void resolveProvider( FileDialogOperation op ) {
    if ( op.getProvider() == null ) {
      if ( isVfsPath( op.getPath() ) ) {
        op.setProvider( VFSFileProvider.TYPE );
      } else if ( spoonSupplier.get().getRepository() != null ) {
        op.setProvider( RepositoryFileProvider.TYPE );
      } else {
        op.setProvider( LocalFileProvider.TYPE );
      }
    }
  }
@Test
  public void testResolveProvider_AlreadySet() throws Exception {
    // SETUP
    FileOpenSaveExtensionPoint testInstance = new FileOpenSaveExtensionPoint( null, null );

    FileDialogOperation opAlreadySet = new FileDialogOperation( FILE_OP_DUMMY_COMMAND  );
    String providerNonProductionValue = "DontChangeMe"; // NON production value, just want to ensure it deosn't get overwritten
    opAlreadySet.setProvider( providerNonProductionValue );
    opAlreadySet.setPath( "/tmp/someRandomPath" );

    // EXECUTE
    testInstance.resolveProvider( opAlreadySet );

    // VERIFY
    assertEquals( providerNonProductionValue, opAlreadySet.getProvider() );
  }