@Test
void testPrepareSetVariableAssertionENV() throws DocumentParseException {

    Element setVariableAssertionElement = createSetVariableAssertion(document, "ENV.my-var", "base64Text");
    document.appendChild(setVariableAssertionElement);
    String prefix = "path.xml";
    setVariableAssertionBuilder.buildAssertionElement(setVariableAssertionElement, policyBuilderContext);
    Element nameElement = getSingleElement(setVariableAssertionElement, VARIABLE_TO_SET);
    assertEquals("ENV.my-var", nameElement.getAttribute(PolicyEntityBuilder.STRING_VALUE));
    Element expressionElement = getSingleElement(setVariableAssertionElement, BASE_64_EXPRESSION);
    assertEquals(PREFIX_ENV + prefix + ".my-var", expressionElement.getAttribute(SetVariableAssertionBuilder.ENV_PARAM_NAME));
    assertFalse(expressionElement.hasAttribute(PolicyEntityBuilder.STRING_VALUE));
}