113114115116117118119120
} @Test public void testParseGoodRootGoodContentValidationFalse() throws IOException, SAXException, ValidationException { PolicyParser parser = new MockPolicyParser(); parser.parse(StreamUtility.getStream(POLICY_GOODENOUGH), false); }
120121122123124125126127
} @Test public void testParseGoodRootGoodContentValidationTrue() throws IOException, SAXException, ValidationException { PolicyParser parser = new MockPolicyParser(); parser.parse(StreamUtility.getStream(POLICY_GOODENOUGH), true); }
127128129130131132133134
} @Test public void testParseGoodRootGoodContentValidationTrueWithCopy() throws IOException, SAXException, ValidationException { PolicyParser parser = new MockPolicyParser(); parser.copy().parse(StreamUtility.getStream(POLICY_GOODENOUGH), true); }