getMock( "\Alchemy\Phrasea\Core\Service\Builder" , array() , array( self::$DI['app'] , '' , new \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag() ) ); $this->fail("should raise an exception"); } catch (\Exception $e) { } } public function testConstructExceptionCreate() { try { $this->getMock( "\\Alchemy\\Phrasea\\Core\\Service\\Builder" , array() , array( self::$DI['app'], 'test', new \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag(), ) ); $this->fail("should raise an exception"); } catch (\Exception $e) { } } }