Package org.assertj.db.error
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 TypeMethodDescriptionstatic 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
-
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
.
-