@Test
public void testCleanUpWhenNotSupported() throws Exception {

	Mockito.when(
		_amImageValidator.isValid(Mockito.any(FileVersion.class))
	).thenReturn(
		false
	);
	_amImageProcessorImpl.cleanUp(_fileVersion);
	Mockito.verify(
		_amImageEntryLocalService, Mockito.never()
	).deleteAMImageEntryFileVersion(
		_fileVersion
	);
}