Exemplo n.º 1
0
 public function testFactoryExceptionWrongInterface()
 {
     $this->setExpectedException('Controller_ExtJS_Exception');
     Controller_ExtJS_Text_Type_Factory::createController(TestHelper::getContext(), 'Factory');
 }
Exemplo n.º 2
0
 /**
  * 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());
 }