The expected source extension should be AfterBeanDiscoveryObserver and not ProcessSyntheticObserverMethodObserver.