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 StringUNEXPECTED_FAILURE_PATTERNprivate static StringUNEXPECTED_SUCCESS_PATTERN-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldBeUnmodifiable(String method)privateShouldBeUnmodifiable(String method, RuntimeException cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldBeUnmodifiable(String method)static ErrorMessageFactoryshouldBeUnmodifiable(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)
-
-