@Test
void testPrepareEncapsulatedAssertionMissingEncassWithNoOp() throws DocumentParseException {

    Element encapsulatedAssertionElement = createEncapsulatedAssertionElement(document);
    document.appendChild(encapsulatedAssertionElement);
    Element noOpElement = document.createElement(NO_OP_IF_CONFIG_MISSING);
    encapsulatedAssertionElement.appendChild(noOpElement);
    noOpElement.setAttribute(EncapsulatedAssertionBuilder.BOOLEAN_VALUE, "true");
    policyBuilderContext = new PolicyBuilderContext("path.xml", document, bundle, new IdGenerator());
    policyBuilderContext.withPolicy(policy);
    policyBuilderContext.withAnnotatedBundle(null);
    encapsulatedAssertionBuilder.buildAssertionElement(encapsulatedAssertionElement, policyBuilderContext);
    Element nameElement = getSingleElement(encapsulatedAssertionElement, ENCAPSULATED_ASSERTION_CONFIG_NAME);
    assertEquals(TEST_ENCASS, nameElement.getAttribute(PolicyEntityBuilder.STRING_VALUE));
    Element guidElement = getSingleElement(encapsulatedAssertionElement, ENCAPSULATED_ASSERTION_CONFIG_GUID);
    assertEquals(PolicyEntityBuilder.ZERO_GUID, guidElement.getAttribute(PolicyEntityBuilder.STRING_VALUE));
}