Class AssertionsOnColumnName
java.lang.Object
org.assertj.db.api.assertions.impl.AssertionsOnColumnName
Implements the assertion method on the name of a column.
- Author:
- Régis Pouiller
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends AbstractAssert<?>>
AhasColumnName(A assertion, org.assertj.core.api.WritableAssertionInfo info, String columnName, String expected, LetterCase columnLetterCase) Verifies that the name of a column is equal to the parameter.
-
Method Details
-
hasColumnName
public static <A extends AbstractAssert<?>> A hasColumnName(A assertion, org.assertj.core.api.WritableAssertionInfo info, String columnName, String expected, LetterCase columnLetterCase) Verifies that the name of a column is equal to the parameter.- Type Parameters:
A- The type of the assertion which call this method.- Parameters:
assertion- The assertion which call this method.info- Writable information about an assertion.columnName- The column name.expected- The expected column name.columnLetterCase- The letter case of column.- Returns:
thisassertion object.- Throws:
AssertionError- If the column name is not equal to the parameter.
-