Package io.debezium.connector.jdbc.junit
Class TestHelper
java.lang.Object
io.debezium.connector.jdbc.junit.TestHelper
- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.assertj.db.api.TableAssertassertTable(DataSource dataSource, String tableName) static org.assertj.db.api.TableAssertassertTable(org.assertj.db.type.Source source, String tableName) getPrimaryKeyColumnNames(DataSource dataSource, String tableName) static ThrowableGet the nested root-cause of the exception.
-
Constructor Details
-
TestHelper
private TestHelper()
-
-
Method Details
-
assertTable
-
assertTable
public static org.assertj.db.api.TableAssert assertTable(org.assertj.db.type.Source source, String tableName) -
getRootCause
Get the nested root-cause of the exception.- Parameters:
t- the exception, should not benull- Returns:
- the nested root-cause exception
-
getPrimaryKeyColumnNames
-