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

import com.github.vbauer.herald.core.BasicTest;
import com.github.vbauer.herald.ext.spring.bean.CheckerBean;
import com.github.vbauer.herald.ext.spring.context.SpringBootTestContext;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @author Vladislav Bauer
 */

@ContextConfiguration(classes = SpringBootTestContext.class)
@RunWith(SpringJUnit4ClassRunner.class)
public class SpringBootTest extends BasicTest {

    @Autowired
    private CheckerBean checkerBean;


    @Test
    public void testAll() {
        checkerBean.checkBeans();
        checkerBean.checkPostProcessor();
    }

}

@@ -476,16 +476,110 @@
 unner;%0A%0A
+import static org.hamcrest.Matchers.notNullValue;%0Aimport static org.junit.Assert.assertThat;%0A%0A
 /**%0A * @
@@ -931,10 +931,281 @@
 %0A    %7D%0A%0A
+    @Test%0A    public void testAutoConfiguration() %7B%0A        final LogAutoConfiguration configuration = new LogAutoConfiguration();%0A        final LogBeanPostProcessor processor = configuration.logBeanPostProcessor();%0A%0A        assertThat(processor, notNullValue());%0A    %7D%0A%0A
 %7D%0A

Add unit test for LogAutoConfiguration