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