@Test
public void testCloner() throws IOException {
String contents = FileUtils.readAllText(getClass().getResourceAsStream("test.policy"));
PolicyFile p = (PolicyFile) testRule(parser.PolicyFile(), contents);
PolicyFile p2 = new PolicyCloner().clone(p);
assertEquals(p.toSource(), p2.toSource());
}