private void decode(final Pac4jHTTPPostDecoder decoder)
            throws ComponentInitializationException, MessageDecodingException {

        decoder.setParserPool(Configuration.getParserPool());
        decoder.initialize();
        decoder.decode();

        assertTrue(decoder.getMessageContext().getMessage() instanceof ResponseImpl);
    }
Tests {@link Pac4jHTTPPostDecoder}.

@author Garry Boyce
@since 4.0.0
pac4j-saml/src/test/java/org/pac4j/saml/transport/Pac4jHTTPPostDecoderTest.java