. */ namespace DoctrineTest\InstantiatorTestAsset; use BadMethodCallException; use XMLReader; /** * Test asset that extends an internal PHP class * * @author Dave Marshall */ class XMLReaderAsset extends XMLReader { /** * Constructor - should not be called * * @throws BadMethodCallException */ public function __construct() { throw new BadMethodCallException('Not supposed to be called!'); } }