public class ClassModifierShouldBe extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeFinal(Class<?> actual)
Creates a new
ClassModifierShouldBe . |
static ErrorMessageFactory |
shouldBeProtected(Class<?> actual)
Creates a new
ClassModifierShouldBe . |
static ErrorMessageFactory |
shouldBePublic(Class<?> actual)
Creates a new
ClassModifierShouldBe . |
static ErrorMessageFactory |
shouldNotBeFinal(Class<?> actual)
Creates a new
ClassModifierShouldBe . |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeFinal(Class<?> actual)
ClassModifierShouldBe
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldNotBeFinal(Class<?> actual)
ClassModifierShouldBe
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldBePublic(Class<?> actual)
ClassModifierShouldBe
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldBeProtected(Class<?> actual)
ClassModifierShouldBe
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.