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

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