Uses of Class
org.assertj.reflection.FieldAssert
-
Uses of FieldAssert in org.assertj.reflection
Methods in org.assertj.reflection that return FieldAssertModifier and TypeMethodDescriptionstatic FieldAssertReflectionAssertions.assertThat(Field actual) Creates a new instance ofFieldAssert.Verifies that theFieldhas the expected type.FieldAssert.isFinal()Verifies that theFieldis final.FieldAssert.isNotFinal()Verifies that theFieldis not final.FieldAssert.isNotPackagePrivate()Verifies that theFieldis not package-private.FieldAssert.isNotPrivate()Verifies that theFieldis not private.FieldAssert.isNotProtected()Verifies that theFieldis not protected.FieldAssert.isNotPublic()Verifies that theFieldis not public.FieldAssert.isNotStatic()Verifies that theFieldis not static.FieldAssert.isPackagePrivate()Verifies that theFieldis package-private.FieldAssert.isPrivate()Verifies that theFieldis private.FieldAssert.isProtected()Verifies that theFieldis protected.FieldAssert.isPublic()Verifies that theFieldis public.FieldAssert.isStatic()Verifies that theFieldis static.Method parameters in org.assertj.reflection with type arguments of type FieldAssertModifier and TypeMethodDescriptionClassAssert.hasDeclaredField(String fieldName, java.util.function.Consumer<FieldAssert> fieldAssertConsumer) Verifies that theClasshas a declared field with the given name.