legacySubComponent
Use an old-style SubComponent in an assertj Condition.
For instance:
assertThat(c, mComponent)
.has(
subComponentWith(
c,
legacySubComponent(
SubComponent.of(
FooterComponent.create(c).text("Rockstar Developer").build()))));
Content copied to clipboard
Return
A condition to be used with assertThat
Parameters
subComponent
The constructed of.