@Test
public void testAddAMImageFileEntryItemSelectorReturnType() {

	AMJournalEditorConfigContributor amJournalEditorConfigContributor =
		new AMJournalEditorConfigContributor();
	JournalItemSelectorCriterion journalItemSelectorCriterion =
		new JournalItemSelectorCriterion();
	journalItemSelectorCriterion.setDesiredItemSelectorReturnTypes(
		new FileEntryItemSelectorReturnType());
	amJournalEditorConfigContributor.
		addAMImageFileEntryItemSelectorReturnType(
			journalItemSelectorCriterion);
	List<ItemSelectorReturnType> desiredItemSelectorReturnTypes =
		journalItemSelectorCriterion.getDesiredItemSelectorReturnTypes();
	Assert.assertEquals(
		desiredItemSelectorReturnTypes.toString(), 2,
		desiredItemSelectorReturnTypes.size());
	_assertContains(
		desiredItemSelectorReturnTypes,
		itemSelectorReturnType -> itemSelectorReturnType instanceof
			AMImageFileEntryItemSelectorReturnType);
	_assertContains(
		desiredItemSelectorReturnTypes,
		itemSelectorReturnType ->
			itemSelectorReturnType instanceof
				FileEntryItemSelectorReturnType);
}