public function verifyListIsEmpty(): void
    {
        $firstRowValue = $this->adminLists['Content items']->table->getCellValue(1, 1);

        if (
        !($this->adminLists['Content items']->table->getItemCount() === 1 &&
            strpos($firstRowValue, 'No content items.') !== false)
        ) {
            throw new \Exception('"Content items" list is not empty.');
        }
    }
public function verifyListIsEmpty(): void
    {
        $firstRowValue = $this->adminLists['Content items']->table->getCellValue(1, 1);

        if (
        !($this->adminLists['Content items']->table->getItemCount() === 1 &&
            strpos($firstRowValue, 'No content items.') !== false)
        ) {
            throw new \Exception('"Content items" list is not empty.');
        }
    }
public function verifyListIsEmpty ( ) : void { $ firstRowValue = $ this -> adminLists [ 'Content items' ] -> table -> getCellValue ( 1 , 1 ) ; if ( ! ( $ this -> adminLists [ 'Content items' ] -> table -> getItemCount ( ) === 1 && strpos ( $ firstRowValue , 'No content items.' ) !== false ) ) { throw new \ Exception ( '"Content items" list is not empty.' ) ; } }
Verifies if list of Content items is empty.

@param string $tabName
Verifies if list of Content items is empty .