@ContextConfiguration(value="/META-INF/dbunit-context.xml")
@TestExecutionListeners(value={org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,MustFailDbUnitTestExecutionListener.class})
@ExpectedDatabase(value="/META-INF/db/expectedfail.xml")
@Transactional
public class ExpectedOnClassAndMethodWithoutOverrideTest
extends Object
| Constructor and Description |
|---|
ExpectedOnClassAndMethodWithoutOverrideTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
shouldUseMethodExpectation() |
public ExpectedOnClassAndMethodWithoutOverrideTest()
@ExpectedDatabase(value="/META-INF/db/expected_nonstrict.xml", assertionMode=NON_STRICT, override=false) public void shouldUseMethodExpectation()
Copyright © 2016. All rights reserved.