Package org.assertj.core.api
Class ClassAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,java.lang.Class<?>>
-
- org.assertj.core.api.AbstractClassAssert<ClassAssert>
-
- org.assertj.core.api.ClassAssert
-
- All Implemented Interfaces:
Assert<ClassAssert,java.lang.Class<?>>
,Descriptable<ClassAssert>
,ExtensionPoints<ClassAssert,java.lang.Class<?>>
public class ClassAssert extends AbstractClassAssert<ClassAssert>
Assertion methods forClass
es.To create a new instance of this class, invoke
Assertions.assertThat(Class)
-
-
Field Summary
-
Fields inherited from class org.assertj.core.api.AbstractClassAssert
classes
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, customRepresentation, info, myself, objects, printAssertionsDescription, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Constructor Description ClassAssert(java.lang.Class<?> actual)
-
Method Summary
-
Methods inherited from class org.assertj.core.api.AbstractClassAssert
hasAnnotation, hasAnnotations, hasAnnotationsForProxy, hasDeclaredFields, hasDeclaredMethods, hasFields, hasMethods, hasNoPackage, hasNoSuperclass, hasOnlyDeclaredFields, hasOnlyPublicFields, hasPackage, hasPackage, hasPublicFields, hasPublicMethods, hasRecordComponents, hasSuperclass, isAbstract, isAnnotation, isAssignableFrom, isAssignableTo, isFinal, isInterface, isNotAnnotation, isNotFinal, isNotInterface, isNotPrimitive, isNotRecord, isNotSealed, isNotStatic, isPackagePrivate, isPrimitive, isProtected, isPublic, isRecord, isSealed, isStatic
-
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withAssertionState, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
-