@Override
        protected void internalInit(final boolean forceReinit) {
            this.counter++;
            if (fails) {
                throw new TechnicalException("Initialization fails");
            }
        }
This class tests the {@link InitializableObject} class.

@author Jerome Leleu
@since 1.4.0
pac4j-core/src/test/java/org/pac4j/core/util/InitializableObjectTests.java