CodeExplorer checkCard example
$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',
] );
$this->
checkCard( $cards[1
],
'fire',
[