Package com.getperka.flatpack.policy.visitors

Examples of com.getperka.flatpack.policy.visitors.PolicyCloner$Cloner


  @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());
  }
View Full Code Here

TOP

Related Classes of com.getperka.flatpack.policy.visitors.PolicyCloner$Cloner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.