public function testLoadModuleException()
{
$this->setExpectedException('PHPUnit_Framework_Error');
$p = new Project(new Config(array('databases' => array('testdb' => Db::factory('Sqlite', array('database' => __DIR__ . '/../tmp/test.sqlite'))), 'defaultDb' => 'testdb')), null, new Router(array('Pop\\Mvc\\Controller' => new Controller())));
$p->loadModule(new Config());
}