package de.behrfriedapp.webshop.server.web;

import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;

/**
 * @author marcus
 */
public class ImageEnrichmentFacadeTest {

	private ImageEnrichmentFacade imageEnrichmentFacade;

	@Before
	public void setUp() throws Exception {
		this.imageEnrichmentFacade = new ImageEnrichmentFacade(
				new BingImageSearchUrlCreator(),
				new DefaultHttpAccess(),
				new BingImageSearchUrlExtractor(),
				new MemoryImageDownloader()
		);
	}

	@Test
	public void testGetImageData() throws Exception {
		String result = this.imageEnrichmentFacade.getImageData("Bier Durst");

		Assert.assertNotNull(result);
	}
}

@@ -558,14 +558,33 @@
 %7B%0A%09%09
-String
+ImageDownloader.ImageData
  res

fix build failure in test