Extends
lithium\test\UnitSource
public function testInvalidEntityCondition() {
$entity = new Record(array('model' => $this->_model, 'exists' => true));
$entity->_id = 13;
$query = new Query(compact('entity'));
$this->expectException('/No matching primary key found/');
$query->conditions();
}