Uses of Class
org.assertj.reflection.ConstructorAssert
-
Uses of ConstructorAssert in org.assertj.reflection
Modifier and TypeMethodDescriptionstatic ConstructorAssert
ReflectionAssertions.assertThat
(Constructor<?> actual) Creates a new instance ofConstructorAssert
.ConstructorAssert.isNotPackagePrivate()
Verifies that theConstructor
is not package-private.ConstructorAssert.isNotPrivate()
Verifies that theConstructor
is not private.ConstructorAssert.isNotProtected()
Verifies that theConstructor
is not protected.ConstructorAssert.isNotPublic()
Verifies that theConstructor
is not public.ConstructorAssert.isPackagePrivate()
Verifies that theConstructor
is package-private.ConstructorAssert.isPrivate()
Verifies that theConstructor
is private.ConstructorAssert.isProtected()
Verifies that theConstructor
is protected.ConstructorAssert.isPublic()
Verifies that theConstructor
is public.Modifier and TypeMethodDescriptionClassAssert.hasDeclaredConstructor
(Class<?>[] parameterTypes, java.util.function.Consumer<ConstructorAssert> constructorAssertConsumer) Verifies that theClass
has a declared constructor with multiple arguments.ClassAssert.hasDeclaredConstructor
(Class<?> parameterType, java.util.function.Consumer<ConstructorAssert> constructorAssertConsumer) Verifies that theClass
has a declared constructor with a single argument.ClassAssert.hasDeclaredConstructor
(java.util.function.Consumer<ConstructorAssert> constructorAssertConsumer) Verifies that theClass
has a declared constructor with no arguments.