def METHOD_NAME(fresh_aiida_env, potcar_family, phonondb_run, localhost, mock_vasp):
    """Provide process class and inputs for importing a AiiDA-external VASP run.
    The list of objects in test_data/phonondb doesn't contain POTCAR.
    """
    from aiida_vasp.calcs.immigrant import VaspImmigrant
    create_authinfo(localhost, store=True)
    potential_family = POTCAR_FAMILY_NAME
    potential_mapping = POTCAR_MAP
    builder = VaspImmigrant.get_builder_from_folder(
        mock_vasp, str(phonondb_run), potential_family=potential_family, potential_mapping=potential_mapping
    )
    # builder.potential = PotcarData.get_potcars_from_structure(builder.structure, potential_family, mapping=potential_mapping)  # pylint: disable=no-member
    # Make sure clean_workdir is not done for the immigrant (we do not want to remove the imported data)
    expected_inputs = {'parameters', 'structure', 'kpoints', 'potential'}
    for input_link in expected_inputs:
        assert builder.get(input_link, None) is not None
    return builder