impl.onApplicationEvent(null);
    public void testInitialization() {        DaoEventPublisherImpl impl = new DaoEventPublisherImpl();        impl.onApplicationEvent(null);        try {            impl.publishSave(new Object());            fail("Should have raised BeansException");        } catch (BeansException e) {            // this is expected        }    }