@Test
public void testProcessWhenNoConfigurationEntries() throws Exception {

	Mockito.when(
		_amImageValidator.isProcessingSupported(
			Mockito.any(FileVersion.class))
	).thenReturn(
		true
	);
	Mockito.when(
		_amImageConfigurationHelper.getAMImageConfigurationEntries(
			Mockito.anyLong())
	).thenReturn(
		Collections.emptyList()
	);
	_amImageProcessorImpl.process(_fileVersion);
	Mockito.verify(
		_amImageScaler, Mockito.never()
	).scaleImage(
		Mockito.any(FileVersion.class),
		Mockito.any(AMImageConfigurationEntry.class)
	);
	Mockito.verify(
		_amImageEntryLocalService, Mockito.never()
	).addAMImageEntry(
		Mockito.any(AMImageConfigurationEntry.class),
		Mockito.any(FileVersion.class), Mockito.anyInt(), Mockito.anyInt(),
		Mockito.any(InputStream.class), Mockito.anyLong()
	);
}