Files
spring-boot-rest/spring-protobuf/src/test/java/org/baeldung/SpringContextIntegrationTest.java
2019-11-02 18:47:30 +03:30

19 lines
585 B
Java

package org.baeldung;
import com.baeldung.protobuf.Application;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.junit4.SpringRunner;
@DirtiesContext
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class SpringContextIntegrationTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}