public function testRowCountForTableWithTwoRowsReturnsTwo()
{
$this->db->exec('INSERT INTO test (field1) VALUES (\'foobar\')');
$this->db->exec('INSERT INTO test (field1) VALUES (\'foobarbaz\')');
$conn = new PHPUnit_Extensions_Database_DB_DefaultDatabaseConnection($this->db);
$this->assertEquals(2, $conn->getRowCount('test'));
}