package at.gv.egovernment.moa.id.auth.modules.eIDAScentralAuth.semper; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.BlockJUnit4ClassRunner; import org.opensaml.saml2.core.Attribute; import org.opensaml.xml.ConfigurationException; import at.gv.egiz.eaaf.core.api.data.ExtendedPVPAttributeDefinitions; import at.gv.egiz.eaaf.modules.pvp2.impl.builder.PVPAttributeBuilder; import at.gv.egiz.eaaf.modules.pvp2.impl.opensaml.initialize.EAAFDefaultSAML2Bootstrap; @RunWith(BlockJUnit4ClassRunner.class) public class SemperMandateProfilesAttributeBuilderTest { @BeforeClass public static void classInitializer() throws ConfigurationException { EAAFDefaultSAML2Bootstrap.bootstrap(); } @Test public void buildEmptyAttribute() { final Attribute attrMandateProfiles = PVPAttributeBuilder.buildEmptyAttribute( ExtendedPVPAttributeDefinitions.SP_USESMANDATES_NAME); Assert.assertNotNull("Attr.", attrMandateProfiles); } }