1 package org.jmage.filter.merge; 2 3 import org.jmage.mapper.JunitMapper; 4 5 import java.net.URI; 6 import java.net.URISyntaxException; 7 import java.util.Properties; 8 9 /*** 10 * Test BackgroundImageFilter 11 */ 12 public class BackgroundImageJPG extends JunitMapper { 13 public void setFilterChainURI() throws URISyntaxException { 14 request.setFilterChainURI(new URI("chain:org.jmage.filter.merge.BackgroundImageFilter")); 15 } 16 17 public void setProperties() { 18 Properties props = new Properties(); 19 props.setProperty("IMAGE_URI", "file:///sample/sydney.jpg"); 20 request.setFilterChainProperties(props); 21 } 22 }