@Override
    public void onApplicationEvent(ApplicationStartedEvent event) {
        schemeManager.schemes().forEach(scheme -> {
            var factory = new ExtensionRouterFunctionFactory(scheme, client);
            this.schemeRouterFuncMapper.put(scheme, factory.create());
        });
    }
@Test
    void shouldBuildRouterFunctionsOnApplicationStarted() {
        var applicationStartedEvent = mock(ApplicationStartedEvent.class);
        extensionRouterFunc.onApplicationEvent(applicationStartedEvent);
        verify(schemeManager).schemes();
    }