public class ShouldHaveAnnotations extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveAnnotations(Class<?> actual,
Collection<Class<? extends Annotation>> expected,
Collection<Class<? extends Annotation>> missing)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldHaveAnnotations(Class<?> actual, Collection<Class<? extends Annotation>> expected, Collection<Class<? extends Annotation>> missing)
ShouldHaveAnnotations.actual - the actual value in the failed assertion.expected - expected annotations for this classmissing - missing annotations for this classErrorMessageFactory.Copyright © 2014–2019 AssertJ. All rights reserved.