public function testFactoryExceptionWrongInterface() { $this->setExpectedException('Controller_ExtJS_Exception'); Controller_ExtJS_Text_Type_Factory::createController(TestHelper::getContext(), 'Factory'); }
/** * 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 = Controller_ExtJS_Text_Type_Factory::createController(TestHelper::getContext()); }