@ContextConfiguration(locations = { "/META-INF/one-dao-TEST-ctx.xml", "/META-INF/two-TEST-ctx.xml" }) | |
public class ExampleDaoTest extends AbstractJUnit4SpringContextTests { | |
@ClassRule | |
public static DbCleanupRule connectionRule = new DbCleanupRule (); | |
@Rule | |
public DbCleanupRule dbCleanupRule = new DbCleanupRule(connectionRule.getDbConnecttion()); | |
@Autowired | |
private ExampleDao classToTest; | |
@Test | |
public void foo() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment