@Test
void testPrepareIncludeAssertionNoPolicyFound() {

    String policyPath = "my/policy/path.xml";
    Policy policy = new Policy();
    policy.setGuid("123-abc-567");
    bundle.getPolicies().put(policyPath, policy);
    Element includeAssertionElement = createIncludeAssertionElement(document, "some/other/path.xml");
    document.appendChild(includeAssertionElement);
    policyBuilderContext = new PolicyBuilderContext("path.xml", document, bundle, new IdGenerator());
    policyBuilderContext.withPolicy(policy);
    policyBuilderContext.withAnnotatedBundle(new AnnotatedBundle(bundle, null, null));
    assertThrows(EntityBuilderException.class, () -> includeAssertionBuilder.buildAssertionElement(includeAssertionElement, policyBuilderContext));
}