Package org.assertj.core.error
Class ShouldBeUnmodifiable
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldBeUnmodifiable
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeUnmodifiable extends BasicErrorMessageFactory
-
-
Field Summary
Fields Modifier and Type Field Description private static String
UNEXPECTED_FAILURE_PATTERN
private static String
UNEXPECTED_SUCCESS_PATTERN
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldBeUnmodifiable(String method)
private
ShouldBeUnmodifiable(String method, RuntimeException cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldBeUnmodifiable(String method)
static ErrorMessageFactory
shouldBeUnmodifiable(String method, RuntimeException cause)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
UNEXPECTED_SUCCESS_PATTERN
private static final String UNEXPECTED_SUCCESS_PATTERN
- See Also:
- Constant Field Values
-
UNEXPECTED_FAILURE_PATTERN
private static final String UNEXPECTED_FAILURE_PATTERN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShouldBeUnmodifiable
private ShouldBeUnmodifiable(String method)
-
ShouldBeUnmodifiable
private ShouldBeUnmodifiable(String method, RuntimeException cause)
-
-
Method Detail
-
shouldBeUnmodifiable
public static ErrorMessageFactory shouldBeUnmodifiable(String method)
-
shouldBeUnmodifiable
public static ErrorMessageFactory shouldBeUnmodifiable(String method, RuntimeException cause)
-
-