@Test
public void testImportContentIgnoresInvalidReferences() throws Exception {

	Mockito.doThrow(
		PortalException.class
	).when(
		_dlAppLocalService
	).getFileEntry(
		_FILE_ENTRY_ID_1
	);
	String content =
		"<img export-import-path=\"PATH_" + _FILE_ENTRY_ID_1 + "\" />";
	Assert.assertEquals(
		content,
		_amImageHTMLExportImportContentProcessor.
			replaceImportContentReferences(
				_portletDataContext, _stagedModel, content));
}