@Test
public void testGetKeyValuePairsFileEntryWithEmptyTiffMetadata()
	throws Exception {

	Mockito.when(
		_fileEntry.getModel()
	).thenReturn(
		Mockito.mock(DLFileEntry.class)
	);
	Mockito.when(
		_fileEntry.getFileVersion()
	).thenReturn(
		Mockito.mock(FileVersion.class)
	);
	Mockito.when(
		_ddmStructureLocalService.getClassStructures(
			Mockito.anyLong(), Mockito.anyLong(),
			Mockito.any(OrderByComparator.class))
	).thenReturn(
		Collections.singletonList(Mockito.mock(DDMStructure.class))
	);
	Mockito.when(
		_dlFileEntryMetadataLocalService.fetchFileEntryMetadata(
			Mockito.anyLong(), Mockito.anyLong())
	).thenReturn(
		_dlFileEntryMetadata
	);
	Mockito.when(
		_storageEngine.getDDMFormValues(Mockito.anyLong())
	).thenReturn(
		_ddmFormValues
	);
	Mockito.when(
		_ddmFormValues.getDDMFormFieldValuesMap()
	).thenReturn(
		Collections.singletonMap(
			"TIFF_IMAGE_LENGTH", Collections.emptyList())
	);
	Assert.assertEquals(
		Collections.emptyList(),
		_fileEntryMetadataOpenGraphTagsProvider.
			getFileEntryMetadataOpenGraphTagKeyValuePairs(_fileEntry));
}