Codeception\Module\WPDb::seeTableInDatabase PHP Method

seeTableInDatabase() public method

Checks for a table in the database.
public seeTableInDatabase ( string $table )
$table string
    public function seeTableInDatabase($table)
    {
        $count = $this->_seeTableInDatabase($table);
        $this->assertTrue($count > 0, "No matching tables found for table '" . $table . "' in database.");
    }
WPDb