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