@Test
public void testExportCallsBothExportImportContentProcessors()
	throws Exception {

	String originalContent = RandomTestUtil.randomString();
	String blogsEntryReplacedContent = RandomTestUtil.randomString();
	Mockito.doReturn(
		blogsEntryReplacedContent
	).when(
		_blogsEntryExportImportContentProcessor
	).replaceExportContentReferences(
		_portletDataContext, _blogsEntry, originalContent, false, false
	);
	String adaptiveMediaReplacedContent = RandomTestUtil.randomString();
	Mockito.doReturn(
		adaptiveMediaReplacedContent
	).when(
		_htmlExportImportContentProcessor
	).replaceExportContentReferences(
		_portletDataContext, _blogsEntry, blogsEntryReplacedContent, false,
		false
	);
	Assert.assertEquals(
		adaptiveMediaReplacedContent,
		_amBlogsEntryExportImportContentProcessor.
			replaceExportContentReferences(
				_portletDataContext, _blogsEntry, originalContent, false,
				false));
}