public function testRestrictedKeyExport()
{
$options = array('type' => 'update', 'data' => array('title' => 'Bar'), 'conditions' => array('title' => 'Foo'), 'model' => $this->_model);
$query = new Query($options);
$result = $query->export($this->_db, array('keys' => array('type', 'data', 'conditions')));
$expected = array('type' => 'update', 'data' => array('title' => 'Bar'), 'conditions' => "WHERE {title} = 'Foo'");
$this->assertEqual($expected, $result);
}