Merge pull request #49156 from quaff

* pr/49156:
  Remove redundant assertion

Closes gh-49156
This commit is contained in:
Stéphane Nicoll
2026-02-09 14:54:13 +01:00
@@ -342,7 +342,7 @@ class ValueObjectBinderTests {
RecordPropertiesWithOptionalInNestedRecord bound = this.binder.bindOrCreate("foo",
Bindable.of(RecordPropertiesWithOptionalInNestedRecord.class));
assertThat(bound.nested()).isNotNull();
assertThat(bound.nested().property1()).isNotNull().isEmpty();
assertThat(bound.nested().property1()).isEmpty();
assertThat(bound.nested().property2()).isEqualTo("str");
}