public class ShouldBeAnnotation extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeAnnotation(Class<?> actual)
Creates a new
ShouldBeAnnotation . |
static ErrorMessageFactory |
shouldNotBeAnnotation(Class<?> actual)
Creates a new
ShouldBeAnnotation . |
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-2015 AssertJ. All Rights Reserved.