public function testUpdateVersion()
{
$gateway = $this->getDatabaseGateway();
$this->insertDatabaseFixture(__DIR__ . '/../_fixtures/contentobjects.php');
$gateway->updateVersion(10, 2, $this->getUpdateStructFixture());
$query = $this->getDatabaseHandler()->createSelectQuery();
$this->assertQueryResult(array(array('creator_id' => '23', 'initial_language_id' => '2', 'modified' => '234567')), $query->select(array('creator_id', 'initial_language_id', 'modified'))->from('ezcontentobject_version')->where($query->expr->lAnd($query->expr->eq('contentobject_id', 10), $query->expr->eq('version', 2))));
}