package click.kamil.examples.statemachine.extended.config;

import click.kamil.examples.statemachine.extended.service.QuirkService;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanParameterTestConfig extends AbstractBaseConfig {

    @Bean
    public String myBeanParamTester(@Qualifier("customName") QuirkService someService) {
        // We will use this method as an entry point in the test
        someService.doQuirk();
        return "tested";
    }
}
