@Test
public void testExportCallsBothExportImportContentProcessors()
	throws Exception {

	String originalContent = RandomTestUtil.randomString();
	String journalArticleReplacedContent = RandomTestUtil.randomString();
	Mockito.doReturn(
		journalArticleReplacedContent
	).when(
		_journalArticleExportImportContentProcessor
	).replaceExportContentReferences(
		_portletDataContext, _journalArticle, originalContent, false, false
	);
	String adaptiveMediaReplacedContent = RandomTestUtil.randomString();
	Mockito.doReturn(
		adaptiveMediaReplacedContent
	).when(
		_htmlExportImportContentProcessor
	).replaceExportContentReferences(
		_portletDataContext, _journalArticle, journalArticleReplacedContent,
		false, false
	);
	Assert.assertEquals(
		adaptiveMediaReplacedContent,
		_amJournalArticleExportImportContentProcessor.
			replaceExportContentReferences(
				_portletDataContext, _journalArticle, originalContent,
				false, false));
}