@ -27,6 +27,7 @@ import org.springframework.core.env.Environment;
import org.springframework.test.context.TestExecutionListeners ;
import org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener ;
import org.springframework.test.context.support.DependencyInjectionTestExecutionListener ;
import org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener ;
import org.springframework.test.context.support.DirtiesContextTestExecutionListener ;
import org.springframework.test.context.transaction.TransactionalTestExecutionListener ;
@ -48,6 +49,7 @@ import org.springframework.test.context.transaction.TransactionalTestExecutionLi
// Leave out the ServletTestExecutionListener because it only deals with Mock* servlet
// stuff. A real embedded application will not need the mocks.
@TestExecutionListeners ( listeners = { IntegrationTestPropertiesListener . class ,
DirtiesContextBeforeModesTestExecutionListener . class ,
DependencyInjectionTestExecutionListener . class ,
DirtiesContextTestExecutionListener . class ,
TransactionalTestExecutionListener . class , SqlScriptsTestExecutionListener . class } )