/** * @expectedException \Thru\ActiveRecord\DatabaseLayer\TableDoesntExistException */ public function testTableExistsGotcha() { $result = DumbModel::queryOne("SELECT * FROM doesntexist", 'Thru\\ActiveRecord\\Test\\Models\\NotStdClass'); }