Package guru.mikelue.jdut.assertion
Class ResultSetAssert
- java.lang.Object
-
- guru.mikelue.jdut.assertion.ResultSetAssert
-
public class ResultSetAssert extends Object
A stateful object to assert data of result set by cascading way.JdbcTemplateFactory.buildRunnable( () -> getDataSource().getConnection(), conn -> DbResultSet.buildRunnable( conn, "SELECT * FROM DO_INSERT", rs -> new ResultSetAssert(rs) .assertNextTrue() .assertInt("dm_v1", 1) .assertInt("dm_v3", 20) .assertNextTrue() ).run() ).run();
-
-
Constructor Summary
Constructors Constructor Description ResultSetAssert(ResultSet newResultSet)Constructs this object with result set to be tested.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultSetAssertassertAbsoluteFalse(int row)CallsResultSet.absolute(int)and asserts the result as false value.ResultSetAssertassertAbsoluteFalse(int row, String message)CallsResultSet.absolute(int)and asserts the result as false value.ResultSetAssertassertAbsoluteFalse(int row, Supplier<String> messageSupplier)CallsResultSet.absolute(int)and asserts the result as false value.ResultSetAssertassertAbsoluteTrue(int row)CallsResultSet.absolute(int)and asserts the result as true value.ResultSetAssertassertAbsoluteTrue(int row, String message)CallsResultSet.absolute(int)and asserts the result as true value.ResultSetAssertassertAbsoluteTrue(int row, Supplier<String> messageSupplier)CallsResultSet.absolute(int)and asserts the result as true value.ResultSetAssertassertArray(int columnIndex, Array expectedArray)ResultSetAssertassertArray(int columnIndex, Array expectedArray, String message)ResultSetAssertassertArray(int columnIndex, Array expectedArray, Supplier<String> messageSupplier)ResultSetAssertassertArray(String columnName, Array expectedArray)ResultSetAssertassertArray(String columnName, Array expectedArray, String message)ResultSetAssertassertArray(String columnName, Array expectedArray, Supplier<String> messageSupplier)ResultSetAssertassertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext)ResultSetAssertassertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext, String message)ResultSetAssertassertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext, Supplier<String> messageSupplier)ResultSetAssertassertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext)ResultSetAssertassertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext, String message)ResultSetAssertassertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext, Supplier<String> messageSupplier)ResultSetAssertassertBlob(int columnIndex, Blob expectedBlob)Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.ResultSetAssertassertBlob(int columnIndex, Blob expectedBlob, String message)Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.ResultSetAssertassertBlob(int columnIndex, Blob expectedBlob, Supplier<String> messageSupplier)Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.ResultSetAssertassertBlob(String columnName, Blob expectedBlob)Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.ResultSetAssertassertBlob(String columnName, Blob expectedBlob, String message)Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.ResultSetAssertassertBlob(String columnName, Blob expectedBlob, Supplier<String> messageSupplier)Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.ResultSetAssertassertBoolean(int columnIndex, boolean expectedBoolean)ResultSetAssertassertBoolean(int columnIndex, boolean expectedBoolean, String message)ResultSetAssertassertBoolean(int columnIndex, boolean expectedBoolean, Supplier<String> messageSupplier)ResultSetAssertassertBoolean(String columnName, boolean expectedBoolean)ResultSetAssertassertBoolean(String columnName, boolean expectedBoolean, String message)ResultSetAssertassertBoolean(String columnName, boolean expectedBoolean, Supplier<String> messageSupplier)ResultSetAssertassertByte(int columnIndex, byte expectedByte)ResultSetAssertassertByte(int columnIndex, byte expectedByte, String message)ResultSetAssertassertByte(int columnIndex, byte expectedByte, Supplier<String> messageSupplier)ResultSetAssertassertByte(String columnName, byte expectedByte)ResultSetAssertassertByte(String columnName, byte expectedByte, String message)ResultSetAssertassertByte(String columnName, byte expectedByte, Supplier<String> messageSupplier)ResultSetAssertassertBytes(int columnIndex, byte[] expectedBytes)ResultSetAssertassertBytes(int columnIndex, byte[] expectedBytes, String message)ResultSetAssertassertBytes(int columnIndex, byte[] expectedBytes, Supplier<String> messageSupplier)ResultSetAssertassertBytes(String columnName, byte[] expectedBytes)ResultSetAssertassertBytes(String columnName, byte[] expectedBytes, String message)ResultSetAssertassertBytes(String columnName, byte[] expectedBytes, Supplier<String> messageSupplier)ResultSetAssertassertClob(int columnIndex, Clob expectedClob)Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertClob(int columnIndex, Clob expectedClob, String message)Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertClob(int columnIndex, Clob expectedClob, Supplier<String> messageSupplier)Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertClob(String columnName, Clob expectedClob)Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertClob(String columnName, Clob expectedClob, String message)Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertClob(String columnName, Clob expectedClob, Supplier<String> messageSupplier)Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertDate(int columnIndex, Date expectedDate)ResultSetAssertassertDate(int columnIndex, Date expectedDate, String message)ResultSetAssertassertDate(int columnIndex, Date expectedDate, Supplier<String> messageSupplier)ResultSetAssertassertDate(String columnName, Date expectedDate)ResultSetAssertassertDate(String columnName, Date expectedDate, String message)ResultSetAssertassertDate(String columnName, Date expectedDate, Supplier<String> messageSupplier)ResultSetAssertassertDouble(int columnIndex, double expectedDouble)ResultSetAssertassertDouble(int columnIndex, double expectedDouble, String message)ResultSetAssertassertDouble(int columnIndex, double expectedDouble, Supplier<String> messageSupplier)ResultSetAssertassertDouble(String columnName, double expectedDouble)ResultSetAssertassertDouble(String columnName, double expectedDouble, String message)ResultSetAssertassertDouble(String columnName, double expectedDouble, Supplier<String> messageSupplier)ResultSetAssertassertFetchSize(int size)CallsResultSet.getFetchSize()and asserts the result as false value.ResultSetAssertassertFetchSize(int size, String message)CallsResultSet.getFetchSize()and asserts the result as false value.ResultSetAssertassertFetchSize(int size, Supplier<String> messageSupplier)CallsResultSet.getFetchSize()and asserts the result as false value.ResultSetAssertassertFloat(int columnIndex, float expectedFloat)ResultSetAssertassertFloat(int columnIndex, float expectedFloat, String message)ResultSetAssertassertFloat(int columnIndex, float expectedFloat, Supplier<String> messageSupplier)ResultSetAssertassertFloat(String columnName, float expectedFloat)ResultSetAssertassertFloat(String columnName, float expectedFloat, String message)ResultSetAssertassertFloat(String columnName, float expectedFloat, Supplier<String> messageSupplier)ResultSetAssertassertInt(int columnIndex, int expectedInt)ResultSetAssertassertInt(int columnIndex, int expectedInt, String message)ResultSetAssertassertInt(int columnIndex, int expectedInt, Supplier<String> messageSupplier)ResultSetAssertassertInt(String columnName, int expectedInt)ResultSetAssertassertInt(String columnName, int expectedInt, String message)ResultSetAssertassertInt(String columnName, int expectedInt, Supplier<String> messageSupplier)ResultSetAssertassertLong(int columnIndex, long expectedLong)ResultSetAssertassertLong(int columnIndex, long expectedLong, String message)ResultSetAssertassertLong(int columnIndex, long expectedLong, Supplier<String> messageSupplier)ResultSetAssertassertLong(String columnName, long expectedLong)ResultSetAssertassertLong(String columnName, long expectedLong, String message)ResultSetAssertassertLong(String columnName, long expectedLong, Supplier<String> messageSupplier)ResultSetAssertassertNClob(int columnIndex, NClob expectedNClob)Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertNClob(int columnIndex, NClob expectedNClob, String message)Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertNClob(int columnIndex, NClob expectedNClob, Supplier<String> messageSupplier)Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertNClob(String columnName, NClob expectedNClob)Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertNClob(String columnName, NClob expectedNClob, String message)Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertNClob(String columnName, NClob expectedNClob, Supplier<String> messageSupplier)Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.ResultSetAssertassertNextFalse()CallsResultSet.next()and asserts the result as false value.ResultSetAssertassertNextFalse(String message)CallsResultSet.next()and asserts the result as false value.ResultSetAssertassertNextFalse(Supplier<String> messageSupplier)CallsResultSet.next()and asserts the result as false value.ResultSetAssertassertNextTrue()CallsResultSet.next()and asserts the result as true value.ResultSetAssertassertNextTrue(String message)CallsResultSet.next()and asserts the result as true value.ResultSetAssertassertNextTrue(Supplier<String> messageSupplier)CallsResultSet.next()and asserts the result as true value.ResultSetAssertassertNString(int columnIndex, String expectedNString)ResultSetAssertassertNString(int columnIndex, String expectedNString, String message)ResultSetAssertassertNString(int columnIndex, String expectedNString, Supplier<String> messageSupplier)ResultSetAssertassertNString(String columnName, String expectedNString)ResultSetAssertassertNString(String columnName, String expectedNString, String message)ResultSetAssertassertNString(String columnName, String expectedNString, Supplier<String> messageSupplier)ResultSetAssertassertObject(int columnIndex, Object expectedObject)ResultSetAssertassertObject(int columnIndex, Object expectedObject, String message)ResultSetAssertassertObject(int columnIndex, Object expectedObject, Supplier<String> messageSupplier)ResultSetAssertassertObject(String columnName, Object expectedObject)ResultSetAssertassertObject(String columnName, Object expectedObject, String message)ResultSetAssertassertObject(String columnName, Object expectedObject, Supplier<String> messageSupplier)ResultSetAssertassertRef(int columnIndex, Ref expectedRef)ResultSetAssertassertRef(int columnIndex, Ref expectedRef, String message)ResultSetAssertassertRef(int columnIndex, Ref expectedRef, Supplier<String> messageSupplier)ResultSetAssertassertRef(String columnName, Ref expectedRef)ResultSetAssertassertRef(String columnName, Ref expectedRef, String message)ResultSetAssertassertRef(String columnName, Ref expectedRef, Supplier<String> messageSupplier)ResultSetAssertassertRowId(int columnIndex, RowId expectedRowId)ResultSetAssertassertRowId(int columnIndex, RowId expectedRowId, String message)ResultSetAssertassertRowId(int columnIndex, RowId expectedRowId, Supplier<String> messageSupplier)ResultSetAssertassertRowId(String columnName, RowId expectedRowId)ResultSetAssertassertRowId(String columnName, RowId expectedRowId, String message)ResultSetAssertassertRowId(String columnName, RowId expectedRowId, Supplier<String> messageSupplier)ResultSetAssertassertShort(int columnIndex, short expectedShort)ResultSetAssertassertShort(int columnIndex, short expectedShort, String message)ResultSetAssertassertShort(int columnIndex, short expectedShort, Supplier<String> messageSupplier)ResultSetAssertassertShort(String columnName, short expectedShort)ResultSetAssertassertShort(String columnName, short expectedShort, String message)ResultSetAssertassertShort(String columnName, short expectedShort, Supplier<String> messageSupplier)ResultSetAssertassertSQLXML(int columnIndex, SQLXML expectedSQLXML)ResultSetAssertassertSQLXML(int columnIndex, SQLXML expectedSQLXML, String message)ResultSetAssertassertSQLXML(int columnIndex, SQLXML expectedSQLXML, Supplier<String> messageSupplier)ResultSetAssertassertSQLXML(String columnName, SQLXML expectedSQLXML)ResultSetAssertassertSQLXML(String columnName, SQLXML expectedSQLXML, String message)ResultSetAssertassertSQLXML(String columnName, SQLXML expectedSQLXML, Supplier<String> messageSupplier)ResultSetAssertassertString(int columnIndex, String expectedString)ResultSetAssertassertString(int columnIndex, String expectedString, String message)ResultSetAssertassertString(int columnIndex, String expectedString, Supplier<String> messageSupplier)ResultSetAssertassertString(String columnName, String expectedString)ResultSetAssertassertString(String columnName, String expectedString, String message)ResultSetAssertassertString(String columnName, String expectedString, Supplier<String> messageSupplier)ResultSetAssertassertTime(int columnIndex, Time expectedTime)ResultSetAssertassertTime(int columnIndex, Time expectedTime, String message)ResultSetAssertassertTime(int columnIndex, Time expectedTime, Supplier<String> messageSupplier)ResultSetAssertassertTime(String columnName, Time expectedTime)ResultSetAssertassertTime(String columnName, Time expectedTime, String message)ResultSetAssertassertTime(String columnName, Time expectedTime, Supplier<String> messageSupplier)ResultSetAssertassertTimestamp(int columnIndex, Timestamp expectedTimestamp)ResultSetAssertassertTimestamp(int columnIndex, Timestamp expectedTimestamp, String message)ResultSetAssertassertTimestamp(int columnIndex, Timestamp expectedTimestamp, Supplier<String> messageSupplier)ResultSetAssertassertTimestamp(String columnName, Timestamp expectedTimestamp)ResultSetAssertassertTimestamp(String columnName, Timestamp expectedTimestamp, String message)ResultSetAssertassertTimestamp(String columnName, Timestamp expectedTimestamp, Supplier<String> messageSupplier)ResultSetAssertassertURL(int columnIndex, URL expectedURL)ResultSetAssertassertURL(int columnIndex, URL expectedURL, String message)ResultSetAssertassertURL(int columnIndex, URL expectedURL, Supplier<String> messageSupplier)ResultSetAssertassertURL(String columnName, URL expectedURL)ResultSetAssertassertURL(String columnName, URL expectedURL, String message)ResultSetAssertassertURL(String columnName, URL expectedURL, Supplier<String> messageSupplier)ResultSetAssertassertWasNotNull()CallsResultSet.wasNull()and asserts the result as false value.ResultSetAssertassertWasNotNull(String message)CallsResultSet.wasNull()and asserts the result as false value.ResultSetAssertassertWasNotNull(Supplier<String> messageSupplier)CallsResultSet.wasNull()and asserts the result as false value.ResultSetAssertassertWasNull()CallsResultSet.wasNull()and asserts the result as true value.ResultSetAssertassertWasNull(String message)CallsResultSet.wasNull()and asserts the result as true value.ResultSetAssertassertWasNull(Supplier<String> messageSupplier)CallsResultSet.wasNull()and asserts the result as true value.
-
-
-
Constructor Detail
-
ResultSetAssert
public ResultSetAssert(ResultSet newResultSet)
Constructs this object with result set to be tested.- Parameters:
newResultSet- The result rest
-
-
Method Detail
-
assertAbsoluteTrue
public ResultSetAssert assertAbsoluteTrue(int row) throws SQLException
CallsResultSet.absolute(int)and asserts the result as true value.- Parameters:
row- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positioned- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteTrue
public ResultSetAssert assertAbsoluteTrue(int row, String message) throws SQLException
CallsResultSet.absolute(int)and asserts the result as true value.- Parameters:
row- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positionedmessage- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteTrue
public ResultSetAssert assertAbsoluteTrue(int row, Supplier<String> messageSupplier) throws SQLException
CallsResultSet.absolute(int)and asserts the result as true value.- Parameters:
row- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positionedmessageSupplier- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteFalse
public ResultSetAssert assertAbsoluteFalse(int row) throws SQLException
CallsResultSet.absolute(int)and asserts the result as false value.- Parameters:
row- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positioned- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteFalse
public ResultSetAssert assertAbsoluteFalse(int row, String message) throws SQLException
CallsResultSet.absolute(int)and asserts the result as false value.- Parameters:
row- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positionedmessage- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteFalse
public ResultSetAssert assertAbsoluteFalse(int row, Supplier<String> messageSupplier) throws SQLException
CallsResultSet.absolute(int)and asserts the result as false value.- Parameters:
row- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positionedmessageSupplier- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertNextTrue
public ResultSetAssert assertNextTrue() throws SQLException
CallsResultSet.next()and asserts the result as true value.- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertNextTrue
public ResultSetAssert assertNextTrue(String message) throws SQLException
CallsResultSet.next()and asserts the result as true value.- Parameters:
message- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertNextTrue
public ResultSetAssert assertNextTrue(Supplier<String> messageSupplier) throws SQLException
CallsResultSet.next()and asserts the result as true value.- Parameters:
messageSupplier- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertNextFalse
public ResultSetAssert assertNextFalse() throws SQLException
CallsResultSet.next()and asserts the result as false value.- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertNextTrue()
-
assertNextFalse
public ResultSetAssert assertNextFalse(String message) throws SQLException
CallsResultSet.next()and asserts the result as false value.- Parameters:
message- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertNextFalse
public ResultSetAssert assertNextFalse(Supplier<String> messageSupplier) throws SQLException
CallsResultSet.next()and asserts the result as false value.- Parameters:
messageSupplier- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertWasNull
public ResultSetAssert assertWasNull() throws SQLException
CallsResultSet.wasNull()and asserts the result as true value.- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertWasNull
public ResultSetAssert assertWasNull(String message) throws SQLException
CallsResultSet.wasNull()and asserts the result as true value.- Parameters:
message- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertWasNull
public ResultSetAssert assertWasNull(Supplier<String> messageSupplier) throws SQLException
CallsResultSet.wasNull()and asserts the result as true value.- Parameters:
messageSupplier- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertWasNotNull
public ResultSetAssert assertWasNotNull() throws SQLException
CallsResultSet.wasNull()and asserts the result as false value.- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertWasNull()
-
assertWasNotNull
public ResultSetAssert assertWasNotNull(String message) throws SQLException
CallsResultSet.wasNull()and asserts the result as false value.- Parameters:
message- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertWasNotNull
public ResultSetAssert assertWasNotNull(Supplier<String> messageSupplier) throws SQLException
CallsResultSet.wasNull()and asserts the result as false value.- Parameters:
messageSupplier- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertFetchSize
public ResultSetAssert assertFetchSize(int size) throws SQLException
CallsResultSet.getFetchSize()and asserts the result as false value.- Parameters:
size- The expected size of feched data- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertWasNull()
-
assertFetchSize
public ResultSetAssert assertFetchSize(int size, String message) throws SQLException
CallsResultSet.getFetchSize()and asserts the result as false value.- Parameters:
size- The expected size of feched datamessage- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertFetchSize(int)
-
assertFetchSize
public ResultSetAssert assertFetchSize(int size, Supplier<String> messageSupplier) throws SQLException
CallsResultSet.getFetchSize()and asserts the result as false value.- Parameters:
size- The expected size of feched datamessageSupplier- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error- See Also:
assertFetchSize(int)
-
assertString
public ResultSetAssert assertString(String columnName, String expectedString) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(String columnName, String expectedString, String message) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(String columnName, String expectedString, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(int columnIndex, String expectedString) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(int columnIndex, String expectedString, String message) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(int columnIndex, String expectedString, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(String columnName, String expectedNString) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(String columnName, String expectedNString, String message) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(String columnName, String expectedNString, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(int columnIndex, String expectedNString) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(int columnIndex, String expectedNString, String message) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(int columnIndex, String expectedNString, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(String columnName, Object expectedObject) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(String columnName, Object expectedObject, String message) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(String columnName, Object expectedObject, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(int columnIndex, Object expectedObject) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(int columnIndex, Object expectedObject, String message) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(int columnIndex, Object expectedObject, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(String columnName, Array expectedArray) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(String columnName, Array expectedArray, String message) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(String columnName, Array expectedArray, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(int columnIndex, Array expectedArray) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(int columnIndex, Array expectedArray, String message) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(int columnIndex, Array expectedArray, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(String columnName, byte expectedByte) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(String columnName, byte expectedByte, String message) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(String columnName, byte expectedByte, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(int columnIndex, byte expectedByte) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(int columnIndex, byte expectedByte, String message) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(int columnIndex, byte expectedByte, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(String columnName, short expectedShort) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(String columnName, short expectedShort, String message) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(String columnName, short expectedShort, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(int columnIndex, short expectedShort) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(int columnIndex, short expectedShort, String message) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(int columnIndex, short expectedShort, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(String columnName, boolean expectedBoolean) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(String columnName, boolean expectedBoolean, String message) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(String columnName, boolean expectedBoolean, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(int columnIndex, boolean expectedBoolean) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(int columnIndex, boolean expectedBoolean, String message) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(int columnIndex, boolean expectedBoolean, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(String columnName, int expectedInt) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(String columnName, int expectedInt, String message) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(String columnName, int expectedInt, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(int columnIndex, int expectedInt) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(int columnIndex, int expectedInt, String message) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(int columnIndex, int expectedInt, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(String columnName, long expectedLong) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(String columnName, long expectedLong, String message) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(String columnName, long expectedLong, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(int columnIndex, long expectedLong) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(int columnIndex, long expectedLong, String message) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(int columnIndex, long expectedLong, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(String columnName, float expectedFloat) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(String columnName, float expectedFloat, String message) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(String columnName, float expectedFloat, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(int columnIndex, float expectedFloat) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(int columnIndex, float expectedFloat, String message) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(int columnIndex, float expectedFloat, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(String columnName, double expectedDouble) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(String columnName, double expectedDouble, String message) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(String columnName, double expectedDouble, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(int columnIndex, double expectedDouble) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(int columnIndex, double expectedDouble, String message) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(int columnIndex, double expectedDouble, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext, String message) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext, String message) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBlob
public ResultSetAssert assertBlob(String columnName, Blob expectedBlob) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.- Parameters:
columnName- The name of columnexpectedBlob- The expected Blob object- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(String columnName, Blob expectedBlob, String message) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.- Parameters:
columnName- The name of columnexpectedBlob- The expected Blob objectmessage- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(String columnName, Blob expectedBlob, Supplier<String> messageSupplier) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.- Parameters:
columnName- The name of columnexpectedBlob- The expected Blob objectmessageSupplier- The message supplier if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(int columnIndex, Blob expectedBlob) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.- Parameters:
columnIndex- The index of column to be checkedexpectedBlob- The expected Blob object- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(int columnIndex, Blob expectedBlob, String message) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.- Parameters:
columnIndex- The index of column to be checkedexpectedBlob- The expected Blob objectmessage- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(int columnIndex, Blob expectedBlob, Supplier<String> messageSupplier) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())of the two object.- Parameters:
columnIndex- The index of column to be checkedexpectedBlob- The expected Blob objectmessageSupplier- The message supplier if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(String columnName, Clob expectedClob) throws SQLException
Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnName- The name of columnexpectedClob- The expected object of Clob- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(String columnName, Clob expectedClob, String message) throws SQLException
Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnName- The name of columnexpectedClob- The expected object of Clobmessage- The message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(String columnName, Clob expectedClob, Supplier<String> messageSupplier) throws SQLException
Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnName- The name of columnexpectedClob- The expected object of ClobmessageSupplier- The lazy loading of message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(int columnIndex, Clob expectedClob) throws SQLException
Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnIndex- The index of column to be checkedexpectedClob- The expected object of Clob- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(int columnIndex, Clob expectedClob, String message) throws SQLException
Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnIndex- The index of column to be checkedexpectedClob- The expected object of Clobmessage- The message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(int columnIndex, Clob expectedClob, Supplier<String> messageSupplier) throws SQLException
Asserts the columns withClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnIndex- The index of column to be checkedexpectedClob- The expected object of ClobmessageSupplier- The lazy loading of message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(String columnName, NClob expectedNClob) throws SQLException
Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnName- The name of columnexpectedNClob- The expected object of NClob- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(String columnName, NClob expectedNClob, String message) throws SQLException
Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnName- The name of columnexpectedNClob- The expected object of NClobmessage- The message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(String columnName, NClob expectedNClob, Supplier<String> messageSupplier) throws SQLException
Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnName- The name of columnexpectedNClob- The expected object of NClobmessageSupplier- The lazy loading of message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(int columnIndex, NClob expectedNClob) throws SQLException
Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnIndex- The index of column to be checkedexpectedNClob- The expected object of NClob- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(int columnIndex, NClob expectedNClob, String message) throws SQLException
Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnIndex- The index of column to be checkedexpectedNClob- The expected object of NClobmessage- The message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(int columnIndex, NClob expectedNClob, Supplier<String> messageSupplier) throws SQLException
Asserts the columns withNClobtype, this method checks the equality ofClob.getSubString(1, Clob.length())of the two objects.- Parameters:
columnIndex- The index of column to be checkedexpectedNClob- The expected object of NClobmessageSupplier- The lazy loading of message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException- If the calling method of result set has error
-
assertDate
public ResultSetAssert assertDate(String columnName, Date expectedDate) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(String columnName, Date expectedDate, String message) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(String columnName, Date expectedDate, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(int columnIndex, Date expectedDate) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(int columnIndex, Date expectedDate, String message) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(int columnIndex, Date expectedDate, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(String columnName, Time expectedTime) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(String columnName, Time expectedTime, String message) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(String columnName, Time expectedTime, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(int columnIndex, Time expectedTime) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(int columnIndex, Time expectedTime, String message) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(int columnIndex, Time expectedTime, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(String columnName, Timestamp expectedTimestamp) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(String columnName, Timestamp expectedTimestamp, String message) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(String columnName, Timestamp expectedTimestamp, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(int columnIndex, Timestamp expectedTimestamp) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(int columnIndex, Timestamp expectedTimestamp, String message) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(int columnIndex, Timestamp expectedTimestamp, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(String columnName, URL expectedURL) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(String columnName, URL expectedURL, String message) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(String columnName, URL expectedURL, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(int columnIndex, URL expectedURL) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(int columnIndex, URL expectedURL, String message) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(int columnIndex, URL expectedURL, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(String columnName, Ref expectedRef) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(String columnName, Ref expectedRef, String message) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(String columnName, Ref expectedRef, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(int columnIndex, Ref expectedRef) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(int columnIndex, Ref expectedRef, String message) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(int columnIndex, Ref expectedRef, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(String columnName, RowId expectedRowId) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(String columnName, RowId expectedRowId, String message) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(String columnName, RowId expectedRowId, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(int columnIndex, RowId expectedRowId) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(int columnIndex, RowId expectedRowId, String message) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(int columnIndex, RowId expectedRowId, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(String columnName, SQLXML expectedSQLXML) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(String columnName, SQLXML expectedSQLXML, String message) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(String columnName, SQLXML expectedSQLXML, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(int columnIndex, SQLXML expectedSQLXML) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(int columnIndex, SQLXML expectedSQLXML, String message) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(int columnIndex, SQLXML expectedSQLXML, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(String columnName, byte[] expectedBytes) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(String columnName, byte[] expectedBytes, String message) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(String columnName, byte[] expectedBytes, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(int columnIndex, byte[] expectedBytes) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(int columnIndex, byte[] expectedBytes, String message) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(int columnIndex, byte[] expectedBytes, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
-