Package org.assertj.core.error
Class ShouldContainOneOrMoreWhitespaces
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldContainOneOrMoreWhitespaces
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldContainOneOrMoreWhitespaces extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that aCharSequence
contains one or more whitespaces.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldContainOneOrMoreWhitespaces(Object actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldContainOneOrMoreWhitespaces(CharSequence actual)
Creates a new
.ShouldContainOneOrMoreWhitespaces
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Constructor Detail
-
ShouldContainOneOrMoreWhitespaces
private ShouldContainOneOrMoreWhitespaces(Object actual)
-
-
Method Detail
-
shouldContainOneOrMoreWhitespaces
public static ErrorMessageFactory shouldContainOneOrMoreWhitespaces(CharSequence actual)
Creates a new
.ShouldContainOneOrMoreWhitespaces
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
-