  @Test
  public void testValidatePModeSecurityPModeAuthorizeMandatory ()
  {

    m_aPMode.getLeg1 ().getSecurity ().setPModeAuthorize (ETriState.UNDEFINED);
    VALIDATOR.validatePMode (m_aPMode, m_aErrorList);
    assertTrue ("Errors: " + m_aErrorList.toString (), m_aErrorList.containsAny (x -> x.getErrorText (LOCALE).contains ("mandatory")));
  }