@Test
public void testImportCallsBothExportImportContentProcessors()
	throws Exception {

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