@Test
public void testProcessConfigurationWhenNoConfigurationEntry()
	throws Exception {

	Mockito.when(
		_amImageValidator.isProcessingSupported(_fileVersion)
	).thenReturn(
		true
	);
	Mockito.when(
		_amImageConfigurationHelper.getAMImageConfigurationEntry(
			Mockito.anyLong(), Mockito.anyString())
	).thenReturn(
		Optional.empty()
	);
	_amImageProcessorImpl.process(
		_fileVersion, RandomTestUtil.randomString());
	Mockito.verify(
		_amImageEntryLocalService, Mockito.never()
	).fetchAMImageEntry(
		Mockito.anyString(), Mockito.anyLong()
	);
}