@Test
public void testGetMediaWhenNotSupported() throws Exception {

	Mockito.when(
		_amImageMimeTypeProvider.isMimeTypeSupported(Mockito.anyString())
	).thenReturn(
		false
	);
	Stream<AdaptiveMedia<AMImageProcessor>> adaptiveMediaStream =
		_amImageFinderImpl.getAdaptiveMediaStream(
			amImageQueryBuilder -> amImageQueryBuilder.forFileVersion(
				_fileVersion
			).done());
	Object[] adaptiveMediaArray = adaptiveMediaStream.toArray();
	Assert.assertEquals(
		Arrays.toString(adaptiveMediaArray), 0, adaptiveMediaArray.length);
}