Package org.jboss.cdi.tck.util
Class Assert
- java.lang.Object
-
- org.jboss.cdi.tck.util.Assert
-
public class Assert extends Object
- Author:
- Martin Kouba
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidassertAnnotationSetMatches(Set<? extends Annotation> annotations, Class<? extends Annotation>... requiredAnnotationTypes)static voidassertTypeListMatches(List<? extends Type> types, Type... requiredTypes)static voidassertTypeSetMatches(Set<? extends Type> types, Type... requiredTypes)
-
-
-
Method Detail
-
assertAnnotationSetMatches
public static void assertAnnotationSetMatches(Set<? extends Annotation> annotations, Class<? extends Annotation>... requiredAnnotationTypes)
- Parameters:
annotations-requiredAnnotationTypes-- Throws:
AssertionError- if the annotations set and required annotations do not match
-
assertTypeSetMatches
public static void assertTypeSetMatches(Set<? extends Type> types, Type... requiredTypes)
- Parameters:
types-requiredTypes-
-
-