assertEquals(cajaCssParser.serialize(styleSheet), cajaCssParser.serialize(styleSheet2));
}
@Test
public void testCache() throws Exception {
cajaCssParser.setCacheProvider(new LruCacheProvider(100));
// Ensure that we return cloned instances and not the original out of the cache. Cloned
// instances intentionally do not compare equal but should produce the same output
List<Object> styleSheet = cajaCssParser.parse(CSS);
List<Object> styleSheet2 = cajaCssParser.parse(CSS);
assertFalse(styleSheet.equals(styleSheet2));