CodeExplorer checkTab example
$detail =
$customEntityComplex->
getDetail();
static::
assertInstanceOf(Detail::
class,
$detail);
$tabs =
$detail->
getTabs();
static::
assertInstanceOf(Tabs::
class,
$tabs);
static::
assertCount( 2,
$tabs->
getContent() );
$cards =
$this->
checkTab($tabs->
getContent()[0
], 'foo'
);
static::
assertIsArray($cards);
static::
assertCount(2,
$cards);
$this->
checkCard( $cards[0
],
'water',
[ 'custom_entity_field1',
'custom_entity_field2',
'custom_entity_field3',
] );