0205aac4e49ecea39e51743f6bbf0fb253880433
[utils] / support / spring / src / test / java / org / wamblee / test / spring / TestTransactionCallbackWithoutResult.java
1 package org.wamblee.test.spring;
2
3 /**
4  * Transaction callback for testing. The test will fail if any type of exception
5  * is thrown.
6  *
7  * @author Erik Brakkee
8  */
9 public interface TestTransactionCallbackWithoutResult {
10     /**
11      * Executes code within a transaction, causing the testcase to fail if any
12      * type of exception is thrown.
13      * 
14      */
15     void execute() throws Exception;
16 }