@BeforeEach
    public void setupManager() {
        //noinspection deprecation
        XMPPServer.setInstance(xmppServer);

        manager = new EntityCapabilitiesManager();
        manager.initialize(xmppServer);
        manager.start();
        manager.clearCaches();
    }
Verifies the functionality of the event listening mechanism as provided by {@link EntityCapabilitiesListener}

@author Guus der Kinderen, guus.der.kinderen@gmail.com
xmppserver/src/test/java/org/jivesoftware/openfire/entitycaps/EntityCapabilitiesListenerTest.java