org.dbunit.database.statement
Class MockStatementFactory
java.lang.Object
org.dbunit.database.statement.MockStatementFactory
- All Implemented Interfaces:
- com.mockobjects.Verifiable, IStatementFactory
public class MockStatementFactory
- extends Object
- implements IStatementFactory, com.mockobjects.Verifiable
- Since:
- Mar 16, 2002
- Version:
- $Revision: 421 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockStatementFactory
public MockStatementFactory()
setupStatement
public void setupStatement(IBatchStatement batchStatement)
setExpectedCreateStatementCalls
public void setExpectedCreateStatementCalls(int callsCount)
setExpectedCreatePreparedStatementCalls
public void setExpectedCreatePreparedStatementCalls(int callsCount)
verify
public void verify()
- Specified by:
verify
in interface com.mockobjects.Verifiable
createBatchStatement
public IBatchStatement createBatchStatement(IDatabaseConnection connection)
throws SQLException
- Specified by:
createBatchStatement
in interface IStatementFactory
- Throws:
SQLException
createPreparedBatchStatement
public IPreparedBatchStatement createPreparedBatchStatement(String sql,
IDatabaseConnection connection)
throws SQLException
- Specified by:
createPreparedBatchStatement
in interface IStatementFactory
- Throws:
SQLException
Copyright © 2002-2012. All Rights Reserved.