// Path: src/main/java/com/github/vbauer/herald/ext/spring/LogBeanPostProcessor.java
// public class LogBeanPostProcessor implements BeanPostProcessor {
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public Object postProcessBeforeInitialization(final Object bean, final String beanName) {
//         return LoggerInjector.inject(bean);
//     }
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public Object postProcessAfterInitialization(final Object bean, final String beanName) {
//         return bean;
//     }
// 
// }


import com.github.vbauer.herald.ext.spring.LogBeanPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
package com.github.vbauer.herald.ext.spring.context;


/**
 * @author Vladislav Bauer
 */

@Configuration
@ComponentScan(basePackages = "com.github.vbauer.herald.ext.spring.bean")
public class SpringTestContext {

    @Bean
    public LogBeanPostProcessor logBeanPostProcessor() {
// Path: src/main/java/com/github/vbauer/herald/ext/spring/LogBeanPostProcessor.java
// public class LogBeanPostProcessor implements BeanPostProcessor {
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public Object postProcessBeforeInitialization(final Object bean, final String beanName) {
//         return LoggerInjector.inject(bean);
//     }
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public Object postProcessAfterInitialization(final Object bean, final String beanName) {
//         return bean;
//     }
// 
// }


// Path: src/test/java/com/github/vbauer/herald/ext/spring/context/SpringTestContext.java
import com.github.vbauer.herald.ext.spring.LogBeanPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

package com.github.vbauer.herald.ext.spring.context;


/**
 * @author Vladislav Bauer
 */

@Configuration
@ComponentScan(basePackages = "com.github.vbauer.herald.ext.spring.bean")
public class SpringTestContext {

    @Bean
    public LogBeanPostProcessor logBeanPostProcessor() {
        return new LogBeanPostProcessor();