/**
* @return Card[]
*/
private function checkTab( Tab
$tab,
string
$tabName ): array
{ static::
assertInstanceOf(Tab::
class,
$tab);
static::
assertEquals($tabName,
$tab->
getName());
return $tab->
getCards();
} /**
* @param string[] $refs
*/
private function checkCard( Card
$card,
string
$tabName,
array
$refs ): void
{ static::
assertEquals($tabName,
$card->
getName());