/** * @expectedException CM_Db_Exception */ public function testFindByAttributesException() { CM_Model_Location::findByAttributes(CM_Model_Location::LEVEL_COUNTRY, ['notExistingField' => 'CH']); }