@Test
public void testBuildAssertionElement() {

    String providerName = "testLdap";
    Element authenticationAssertion = createAuthenticationAssertion(document, providerName);
    policyBuilderContext = new PolicyBuilderContext("path.xml", document, bundle, new IdGenerator());
    policyBuilderContext.withPolicy(policy);
    authenticationAssertionBuilder.buildAssertionElement(authenticationAssertion, policyBuilderContext);
    Element idProvideOidElement = getSingleChildElement(authenticationAssertion, ID_PROV_OID, true);
    assertNotNull(idProvideOidElement);
}