@Test(expected = PortalException.class)
public void testValidateContentFailsWhenBlogsEntryExportImportContentProcessorProcessorFails()
	throws Exception {

	String content = RandomTestUtil.randomString();
	Mockito.doThrow(
		PortalException.class
	).when(
		_blogsEntryExportImportContentProcessor
	).validateContentReferences(
		Mockito.anyLong(), Mockito.anyString()
	);
	_amBlogsEntryExportImportContentProcessor.validateContentReferences(
		RandomTestUtil.randomLong(), content);
}