@ContextConfiguration(value="/META-INF/dbunit-context.xml") @TestExecutionListeners(value={org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,MustFailDbUnitTestExecutionListener.class}) @Transactional public class ExpectedQueryNonStrictFailureOnMethodTest extends Object
Constructor and Description |
---|
ExpectedQueryNonStrictFailureOnMethodTest() |
public ExpectedQueryNonStrictFailureOnMethodTest()
@ExpectedDatabase(value="/META-INF/db/expected_query_nonstrict.xml", assertionMode=NON_STRICT, query="select * from SampleEntity where id=1", table="SampleEntity") public void test() throws Exception
Exception
Copyright © 2016. All rights reserved.