Package org.dbunit.database.statement
Class MockBatchStatement
java.lang.Object
org.dbunit.database.statement.MockBatchStatement
- All Implemented Interfaces:
IBatchStatement
- Since:
- Mar 16, 2002
- Version:
- $Revision$
- Author:
- Manuel Laflamme
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddExpectedBatchStrings(String[] sql) voidvoidclose()intvoidsetExpectedClearBatchCalls(int callsCount) voidsetExpectedCloseCalls(int callsCount) voidsetExpectedExecuteBatchCalls(int callsCount) voidverify()
-
Constructor Details
-
MockBatchStatement
public MockBatchStatement()
-
-
Method Details
-
addExpectedBatchString
-
addExpectedBatchStrings
-
setExpectedExecuteBatchCalls
public void setExpectedExecuteBatchCalls(int callsCount) -
setExpectedClearBatchCalls
public void setExpectedClearBatchCalls(int callsCount) -
setExpectedCloseCalls
public void setExpectedCloseCalls(int callsCount) -
verify
public void verify() -
addBatch
- Specified by:
addBatchin interfaceIBatchStatement- Throws:
SQLException
-
executeBatch
- Specified by:
executeBatchin interfaceIBatchStatement- Throws:
SQLException
-
clearBatch
- Specified by:
clearBatchin interfaceIBatchStatement- Throws:
SQLException
-
close
- Specified by:
closein interfaceIBatchStatement- Throws:
SQLException
-