public function deleteRecord($tableName, $uid)
    {
        if (!$this->isNoneSystemTableNameAllowed($tableName)) {
            throw new \InvalidArgumentException('The table name "' . $tableName . '" is not allowed.', 1334439187);
        }

        \Tx_Phpunit_Service_Database::delete(
            $tableName,
            'uid = ' . $uid . ' AND ' . $this->getDummyColumnName($tableName) . ' = 1'
        );
    }