Class ShouldHaveName

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.db.error.ShouldHaveName
All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory

public class ShouldHaveName extends org.assertj.core.error.BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies the name of the column.
Author:
Régis Pouiller
  • Field Summary

    Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory

    arguments, format
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.assertj.core.error.ErrorMessageFactory
    shouldHaveName(String name, String expectedName)
    Creates a new ShouldHaveName.

    Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory

    create, create, create, equals, hashCode, toString, unquotedString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • shouldHaveName

      public static org.assertj.core.error.ErrorMessageFactory shouldHaveName(String name, String expectedName)
      Creates a new ShouldHaveName.
      Parameters:
      name - The name of the column.
      expectedName - The expected name of the column.
      Returns:
      the created ErrorMessageFactory.