public function verifyListIsEmpty(string $tabName): void
    {
        $this->navLinkTabs->goToTab($tabName);
        if ($this->adminLists[$tabName]->table->getItemCount() > 0) {
            throw new \Exception(sprintf('"%s" list is not empty.', $tabName));
        }
    }
public function verifyListIsEmpty(string $tabName): void
    {
        $this->navLinkTabs->goToTab($tabName);
        if ($this->adminLists[$tabName]->table->getItemCount() > 0) {
            throw new \Exception(sprintf('"%s" list is not empty.', $tabName));
        }
    }
public function verifyListIsEmpty ( string $ tabName ) : void { $ this -> navLinkTabs -> goToTab ( $ tabName ) ; if ( $ this -> adminLists [ $ tabName ] -> table -> getItemCount ( ) > 0 ) { throw new \ Exception ( sprintf ( '"%s" list is not empty.' , $ tabName ) ) ; } }
Verifies if list from given tab is empty.

@param string $tabName
Verifies if list from given tab is empty .