Class AssertionsOnColumnName

java.lang.Object
org.assertj.db.api.assertions.impl.AssertionsOnColumnName

public class AssertionsOnColumnName extends Object
Implements the assertion method on the name of a column.
Author:
Régis Pouiller
See Also:
  • 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:
      this assertion object.
      Throws:
      AssertionError - If the column name is not equal to the parameter.