@Test
void testAuditPolicyWithInvalidTags() {

    Document doc = DocumentTools.INSTANCE.getDocumentBuilder().newDocument();
    Bundle bundle = new Bundle();
    Folder f1 = new Folder();
    f1.setId(TEST_FOLDER_1);
    f1.setName(TEST_FOLDER_1);
    f1.setPath(TEST_FOLDER_1);
    bundle.getFolders().put(TEST_FOLDER_1, f1);
    loader.load(bundle, createPolicyBundleXml(doc, TEST_POLICY_ID, TEST_POLICY_NAME,
            PolicyType.INTERNAL.getType(), TEST_FOLDER_1, TEST_POLICY_XML, "test", false));
    assertTrue(bundle.getPolicies().isEmpty());
    assertTrue(bundle.getEntities(AuditPolicy.class).isEmpty());
}