prodMet.addMetadata(CoreMetKeys.FILE_LOCATION, new File(
ingestUrl.getFile()).getCanonicalPath());
ingester.ingest(new URL("http://localhost:" + FM_PORT), new File(
refUrl.getFile()), prodMet);
prodMet.replaceMetadata(CoreMetKeys.PRODUCT_NAME, "TestTypeFile");
prodMet.replaceMetadata(CoreMetKeys.PRODUCT_TYPE, "TestType");
ingester.ingest(new URL("http://localhost:" + FM_PORT), new File(
refUrl.getFile()), prodMet);
} catch (Exception e) {
fail(e.getMessage());