// Path: src/test/java/com/github/vbauer/herald/core/BasicTest.java
// @RunWith(BlockJUnit4ClassRunner.class)
// public abstract class BasicTest {
// 
//     protected final void checkUtilConstructorContract(final Class<?> utilClass) {
//         PrivateConstructorChecker
//             .forClass(utilClass)
//             .expectedTypeOfException(UnsupportedOperationException.class)
//             .check();
//     }
// 
// }
// 
// Path: src/test/java/com/github/vbauer/herald/ext/spring/context/SpringBootTestContext.java
// @Configuration
// @ComponentScan(basePackages = "com.github.vbauer.herald.ext.spring.bean")
// @ImportAutoConfiguration(LogAutoConfiguration.class)
// public class SpringBootTestContext {
// }


import com.github.vbauer.herald.core.BasicTest;
import com.github.vbauer.herald.ext.spring.context.SpringBootTestContext;
import org.junit.Test;
import org.springframework.boot.Banner;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ApplicationContext;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertThat;
package com.github.vbauer.herald.ext.spring;



/**
 * @author Vladislav Bauer
 */

public class SpringBootRunnerTest extends BasicTest {

    @Test
    public void checkAppRunner() {
        final ApplicationContext context = new SpringApplicationBuilder()
            .headless(true)
            .logStartupInfo(false)
            .bannerMode(Banner.Mode.OFF)
// Path: src/test/java/com/github/vbauer/herald/core/BasicTest.java
// @RunWith(BlockJUnit4ClassRunner.class)
// public abstract class BasicTest {
// 
//     protected final void checkUtilConstructorContract(final Class<?> utilClass) {
//         PrivateConstructorChecker
//             .forClass(utilClass)
//             .expectedTypeOfException(UnsupportedOperationException.class)
//             .check();
//     }
// 
// }
// 
// Path: src/test/java/com/github/vbauer/herald/ext/spring/context/SpringBootTestContext.java
// @Configuration
// @ComponentScan(basePackages = "com.github.vbauer.herald.ext.spring.bean")
// @ImportAutoConfiguration(LogAutoConfiguration.class)
// public class SpringBootTestContext {
// }


// Path: src/test/java/com/github/vbauer/herald/ext/spring/SpringBootRunnerTest.java
import com.github.vbauer.herald.core.BasicTest;
import com.github.vbauer.herald.ext.spring.context.SpringBootTestContext;
import org.junit.Test;
import org.springframework.boot.Banner;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ApplicationContext;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertThat;

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



/**
 * @author Vladislav Bauer
 */

public class SpringBootRunnerTest extends BasicTest {

    @Test
    public void checkAppRunner() {
        final ApplicationContext context = new SpringApplicationBuilder()
            .headless(true)
            .logStartupInfo(false)
            .bannerMode(Banner.Mode.OFF)
            .sources(SpringBootTestContext.class)