Search in sources :

Example 1 with DependencyInjectionTestExecutionListener

use of org.springframework.test.context.support.DependencyInjectionTestExecutionListener in project spring-boot by spring-projects.

the class SpringBootDependencyInjectionTestExecutionListenerTests method orderShouldBeSameAsDependencyInjectionTestExecutionListener.

@Test
void orderShouldBeSameAsDependencyInjectionTestExecutionListener() {
    Ordered injectionListener = new DependencyInjectionTestExecutionListener();
    assertThat(this.reportListener.getOrder()).isEqualTo(injectionListener.getOrder());
}
Also used : Ordered(org.springframework.core.Ordered) DependencyInjectionTestExecutionListener(org.springframework.test.context.support.DependencyInjectionTestExecutionListener) Test(org.junit.jupiter.api.Test)

Aggregations

Test (org.junit.jupiter.api.Test)1 Ordered (org.springframework.core.Ordered)1 DependencyInjectionTestExecutionListener (org.springframework.test.context.support.DependencyInjectionTestExecutionListener)1