public class MustFailDbUnitTestExecutionListener extends TransactionDbUnitTestExecutionListener
TransactionDbUnitTestExecutionListener
that ensures that a test method has failed.Constructor and Description |
---|
MustFailDbUnitTestExecutionListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterTestMethod(org.springframework.test.context.TestContext testContext) |
getChain
afterTestClass, beforeTestClass, beforeTestMethod, createChain, prepareTestInstance
public void afterTestMethod(org.springframework.test.context.TestContext testContext) throws Exception
afterTestMethod
in interface org.springframework.test.context.TestExecutionListener
afterTestMethod
in class TestExecutionListenerChain
Exception
Copyright © 2016. All rights reserved.