@Test
public void testAddAMImageFileEntryItemSelectorReturnType()
	throws Exception {

	AMBlogsEditorConfigContributor amBlogsEditorConfigContributor =
		new AMBlogsEditorConfigContributor();
	BlogsItemSelectorCriterion blogsItemSelectorCriterion =
		new BlogsItemSelectorCriterion();
	blogsItemSelectorCriterion.setDesiredItemSelectorReturnTypes(
		new FileEntryItemSelectorReturnType());
	amBlogsEditorConfigContributor.
		addAMImageFileEntryItemSelectorReturnType(
			blogsItemSelectorCriterion);
	List<ItemSelectorReturnType> desiredItemSelectorReturnTypes =
		blogsItemSelectorCriterion.getDesiredItemSelectorReturnTypes();
	Assert.assertEquals(
		desiredItemSelectorReturnTypes.toString(), 2,
		desiredItemSelectorReturnTypes.size());
	Assert.assertTrue(
		desiredItemSelectorReturnTypes.get(0) instanceof
			AMImageFileEntryItemSelectorReturnType);
	Assert.assertTrue(
		desiredItemSelectorReturnTypes.get(1) instanceof
			FileEntryItemSelectorReturnType);
}