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