@Test
public void testItemSelectorURLWhenNoFileBrowserImageBrowseLinkUrl()
	throws Exception {

	JSONObject originalJSONObject = JSONUtil.put(
		"filebrowserImageBrowseLinkUrl", StringPool.BLANK);
	JSONObject jsonObject = JSONFactoryUtil.createJSONObject(
		originalJSONObject.toJSONString());
	AMBlogsEditorConfigContributor amBlogsEditorConfigContributor =
		new AMBlogsEditorConfigContributor();
	ReflectionTestUtil.setFieldValue(
		amBlogsEditorConfigContributor, "_itemSelector", _itemSelector);
	amBlogsEditorConfigContributor.populateConfigJSONObject(
		jsonObject, _inputEditorTaglibAttributes, _themeDisplay,
		_requestBackedPortletURLFactory);
	Mockito.verify(
		_itemSelector, Mockito.never()
	).getItemSelectorURL(
		Mockito.any(RequestBackedPortletURLFactory.class),
		Mockito.anyString(), Mockito.any(ItemSelectorCriterion.class)
	);
	JSONObject expectedJSONObject = JSONFactoryUtil.createJSONObject(
		originalJSONObject.toJSONString());
	JSONAssert.assertEquals(
		expectedJSONObject.toJSONString(), jsonObject.toJSONString(), true);
}