Class ConsentSerializerTest
- java.lang.Object
-
- net.shibboleth.idp.consent.storage.impl.ConsentSerializerTest
-
public class ConsentSerializerTest extends Object
Unit tests forConsentSerializer.
-
-
Field Summary
Fields Modifier and Type Field Description protected net.shibboleth.idp.attribute.IdPAttributeattribute1protected net.shibboleth.idp.attribute.IdPAttributeattribute2protected Function<Collection<net.shibboleth.idp.attribute.IdPAttributeValue>,String>attributeValuesHashFunctionprotected net.shibboleth.idp.consent.Consentconsent1protected net.shibboleth.idp.consent.Consentconsent2protected Map<String,net.shibboleth.idp.consent.Consent>consentsprivate static StringCONTEXTprivate static StringKEYprotected LoggerlogClass logger.protected net.shibboleth.idp.consent.storage.impl.ConsentSerializerserializerprotected net.shibboleth.idp.attribute.IdPAttributeValuevalue1protected net.shibboleth.idp.attribute.IdPAttributeValuevalue2protected net.shibboleth.idp.attribute.IdPAttributeValuevalue3
-
Constructor Summary
Constructors Constructor Description ConsentSerializerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestEmpty()voidtestMutatingSymoblics()voidtestNull()voidtestNullSymoblics()voidtestSimple()voidtestSymbolics()voidtestSymbolicsWithNulls()
-
-
-
Field Detail
-
log
@Nonnull protected final Logger log
Class logger.
-
CONTEXT
private static final String CONTEXT
- See Also:
- Constant Field Values
-
KEY
private static final String KEY
- See Also:
- Constant Field Values
-
serializer
protected net.shibboleth.idp.consent.storage.impl.ConsentSerializer serializer
-
attribute1
protected net.shibboleth.idp.attribute.IdPAttribute attribute1
-
attribute2
protected net.shibboleth.idp.attribute.IdPAttribute attribute2
-
value1
protected net.shibboleth.idp.attribute.IdPAttributeValue value1
-
value2
protected net.shibboleth.idp.attribute.IdPAttributeValue value2
-
value3
protected net.shibboleth.idp.attribute.IdPAttributeValue value3
-
consent1
protected net.shibboleth.idp.consent.Consent consent1
-
consent2
protected net.shibboleth.idp.consent.Consent consent2
-
attributeValuesHashFunction
protected Function<Collection<net.shibboleth.idp.attribute.IdPAttributeValue>,String> attributeValuesHashFunction
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp()
-
-