Пример #1
0
 public function setUp()
 {
     MockTest::inject(Controller::instance(), '_controller');
     $this->_controller = Controller::instance();
 }
Пример #2
0
 public function __construct()
 {
     self::$_fileContent = new FileContent();
     self::$_controller = Controller::instance();
 }
Пример #3
0
 public function setUp()
 {
     $this->_controller = Controller::instance();
 }