sebastianbergmann/dbunit — Issue #57: PHPUnit_Extensions_Database_TestCase::assertTableRowCount uses $this in object context
Author: huyi1985
Created: 2012-02-07 08:16:19+00:00
State: open

PHPUnit/Extensions/Database/TestCase.php on line 261

DbUnit Extension Version: 1.1.2

When I call this method, PHP will report 'PHP Fatal error: Using $this when not in object context in /usr/share/php/PHPUnit/Extensions/Database/TestCase.php on line 261'

```php
getConnection()->getRowCount($tableName); // Using $this when not in object context
self::assertThat($actual, $constraint, $message);
}
```