Package com.mockobjects.sql
Class ExpectationSqlRow
java.lang.Object
com.mockobjects.sql.ExpectationSqlRow
- All Implemented Interfaces:
Verifiable
-
Constructor Summary
ConstructorsConstructorDescriptionExpectationSqlRow(String name) ExpectationSqlRow(String name, Object[] indexedValues) ExpectationSqlRow(String name, String[] columnNames, Object[] values) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExpectedIndexedValues(Object[] indexedValues) voidaddExpectedNamedValues(String[] columnNames, Object[] someValues) voidget(int oneBasedIndex) voidverify()Throw an AssertionFailedException if any expectations have not been met.
-
Constructor Details
-
ExpectationSqlRow
-
ExpectationSqlRow
-
ExpectationSqlRow
-
-
Method Details
-
addExpectedIndexedValues
-
addExpectedNamedValues
-
addExpectedNamedValues
-
get
- Throws:
SQLException
-
get
- Throws:
SQLException
-
verify
public void verify()Description copied from interface:VerifiableThrow an AssertionFailedException if any expectations have not been met.- Specified by:
verifyin interfaceVerifiable
-