@Test
    void verifyDefnWithSerializable() {
        val value = mock(Serializable.class);
        val attribute = samlIdPConsentableAttributeBuilder.build(CasConsentableAttribute.builder()
            .name("unknown")
            .values(CollectionUtils.wrapList(value))
            .build());
        assertInstanceOf(Serializable.class, attribute.getValues().getFirst());
    }
This is {@link SamlIdPConsentableAttributeBuilderTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/web/flow/SamlIdPConsentableAttributeBuilderTests.java