Exemplo n.º 1
0
 /**
  * @covers ITE\ite::__info
  */
 public function test__info()
 {
     $this->object->__info('Dummy text.');
     $this->assertError('Dummy text.', E_USER_NOTICE);
 }
Exemplo n.º 2
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     $this->initErrorHandler(true);
     $_ITE = ite::singleton();
     $this->object = new cache($_ITE);
 }