public class AssertionsOnColumnName extends Object
AssertOnColumnName
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert<?>> |
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.
|
public static <A extends AbstractAssert<?>> A hasColumnName(A assertion, org.assertj.core.api.WritableAssertionInfo info, String columnName, String expected, LetterCase columnLetterCase)
A
- The type of the assertion which call this method.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.this
assertion object.AssertionError
- If the column name is not equal to the parameter.Copyright © 2020 AssertJ. All rights reserved.