/** * Static shortcut to ehough_mockery_mockery_Container::self() * * @return ehough_mockery_mockery_MockInterface */ public static function self() { if (is_null(self::$_container)) { throw new LogicException("You have not declared any mocks yet"); } return self::$_container->self(); }