@Test
public void testFiltersOutAdaptiveMediasWithNoWidth() throws Exception {

	int auto = 0;
	_addConfigs(
		_createAMImageConfigurationEntry(
			"normal", 2048, 1024, StringPool.BLANK),
		_createAMImageConfigurationEntry(
			"wauto", 900, auto, StringPool.BLANK));
	_addAdaptiveMedias(
		_fileEntry, _createAdaptiveMedia("normal", 1334, 750, "normalURL"));
	List<MediaQuery> mediaQueries = _mediaQueryProviderImpl.getMediaQueries(
		_fileEntry);
	Assert.assertEquals(mediaQueries.toString(), 1, mediaQueries.size());
	_assertMediaQuery(mediaQueries.get(0), "normalURL", 750);
}