@Override
    public <T extends EventListener> void addListener(final T t) {
    }
This is {@link MockServletContext}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/MockServletContext.java