/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { $this->object = \Aimeos\Controller\ExtJS\Text\Factory::createController(\TestHelperExtjs::getContext()); }
public function testFactoryExceptionWrongInterface() { $this->setExpectedException('\\Aimeos\\Controller\\ExtJS\\Exception'); \Aimeos\Controller\ExtJS\Text\Factory::createController(\TestHelperExtjs::getContext(), 'Factory'); }