@Test
public void testBackground() throws Exception {

	CSSRTLConverter cssRTLConverter = new CSSRTLConverter();
	Assert.assertEquals(
		"p{background:url(../left/right/test_right.png) right 30%}",
		cssRTLConverter.process(
			"p{background:url(../left/right/test_left.png) left 30%}"));
	Assert.assertEquals(
		"p{background:url(../left/right/test_right.png) 80% 10%}",
		cssRTLConverter.process(
			"p{background:url(../left/right/test_left.png) 20% 10%}"));
	Assert.assertEquals(
		"p{background:color url(../left/right/test_right.png) repeat " +
			"left 20%}",
		cssRTLConverter.process(
			"p{background:color url(../left/right/test_left.png) repeat " +
				"right 20%}"));
	Assert.assertEquals(
		"p{background-image:url(../atleft/right/test_right.png)}",
		cssRTLConverter.process(
			"p{background-image:url(../atleft/right/test_left.png)}"));
}