Skip to content

Commit ca69f23

Browse files
author
Victor Wang
committed
Fix document
1 parent 5a15a14 commit ca69f23

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/org/assertj/core/api/AbstractObjectAssert.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,7 @@ public SELF hasFieldOrPropertyWithValue(String name, Object value) {
575575
return myself;
576576
}
577577
/**
578-
* Asserts that the actual object has only the specified fields or properties.
579-
* <p>
580-
* Private fields are matched by default but this can be changed by calling {@link Assertions#setAllowExtractingPrivateFields(boolean) Assertions.setAllowExtractingPrivateFields(false)}.
578+
* Asserts that the actual object has only the specified fields or properties. (only test the declared member)
581579
* <p>
582580
*
583581
* Example:

0 commit comments

Comments
 (0)