@Test
public void testMediaExpressions() throws Exception {

	CSSRTLConverter cssRTLConverter = new CSSRTLConverter();
	Assert.assertEquals(
		"@media (max-width:320px){#myid{margin-left:1px}." +
			"cls{padding-right:3px}}td{float:right}",
		cssRTLConverter.process(
			"@media (max-width: 320px) { #myid { margin-right: 1px; } " +
				".cls { padding-left: 3px; } } td { float: left; }"));
}