PolicyFile p = (PolicyFile) testRule(parser.PolicyFile(), contents);
// Test print-parse-print to make sure nothing is getting lost
String string = p.toSource();
PolicyFile p2 = (PolicyFile) testRule(parser.PolicyFile(), string);
assertEquals(string, p2.toSource());
}
@Test
public void testCloner() throws IOException {
String contents = FileUtils.readAllText(getClass().getResourceAsStream("test.policy"));