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