package org.wamblee.test.spring; import java.util.Map; /** * Transaction callback for testing. The test will fail if any type of exception * is thrown. * * @author Erik Brakkee */ public interface TestTransactionCallback { /** * Executes code within a transaction, causing the testcase to fail if any * type of exception is thrown. * * @return A map containg the resuls of the execution. This is a convenient * method of returning multiple results from a call. */ Map execute() throws Exception; }