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)
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)
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.this
assertion object.AssertionError
- If the column name is not equal to the parameter.Copyright © 2015 AssertJ. All Rights Reserved.