@Test
public void testBorder() throws Exception {

	CSSRTLConverter cssRTLConverter = new CSSRTLConverter();
	Assert.assertEquals(
		"p{border-right:1px}",
		cssRTLConverter.process("p{border-left:1px}"));
	Assert.assertEquals(
		"p{border-left:1px}",
		cssRTLConverter.process("p{border-right:1px}"));
	Assert.assertEquals(
		"p{border-left:1px solid #000}",
		cssRTLConverter.process("p{border-right:1px solid #000}"));
	Assert.assertEquals(
		"p{border-style:solid}",
		cssRTLConverter.process("p{border-style:solid}"));
	Assert.assertEquals(
		"p{border-style:none solid}",
		cssRTLConverter.process("p{border-style:none solid}"));
	Assert.assertEquals(
		"p{border-style:none solid dashed}",
		cssRTLConverter.process("p{border-style:none solid dashed}"));
	Assert.assertEquals(
		"p{border-style:none double dashed solid}",
		cssRTLConverter.process(
			"p{border-style:none solid dashed double}"));
	Assert.assertEquals(
		"p{border-color:#fff}",
		cssRTLConverter.process("p{border-color:#fff}"));
	Assert.assertEquals(
		"p{border-color:#fff #000}",
		cssRTLConverter.process("p{border-color:#fff #000}"));
	Assert.assertEquals(
		"p{border-color:#000 #111 #222}",
		cssRTLConverter.process("p{border-color:#000 #111 #222}"));
	Assert.assertEquals(
		"p{border-color:#000 #333 #222 #111}",
		cssRTLConverter.process("p{border-color:#000 #111 #222 #333}"));
	Assert.assertEquals(
		"p{border-right-color:#fff}",
		cssRTLConverter.process("p{border-left-color:#fff}"));
	Assert.assertEquals(
		"p{border-left-color:#fff}",
		cssRTLConverter.process("p{border-right-color:#fff}"));
	Assert.assertEquals(
		"p{border-width:0}", cssRTLConverter.process("p{border-width:0}"));
	Assert.assertEquals(
		"p{border-width:0 1px}",
		cssRTLConverter.process("p{border-width:0 1px}"));
	Assert.assertEquals(
		"p{border-width:0 1px 2px}",
		cssRTLConverter.process("p{border-width:0 1px 2px}"));
	Assert.assertEquals(
		"p{border-width:0 3px 2px 1px}",
		cssRTLConverter.process("p{border-width:0 1px 2px 3px}"));
}