include dirname(__FILE__).'/../../bootstrap.php'; $t = new lime_test(21, new lime_output_color()); /***************************************/ /* sfDoctrineFinder::getColumnObject() */ /***************************************/ $t->diag('sfDoctrineFinder::getColumnObject()'); $finder = new sfDoctrineFinder('DArticle'); try { $finder->getColumnObject('Foo'); $throwException = false; } catch (Exception $e) { $throwException = true; } $t->ok($throwException, 'getColumnObject() throws an exception when its argument is not the name of a column of the main finder object'); try { $finder->getColumnObject('title'); $throwException = false; } catch (Exception $e) {