/** * @covers ITE\ite::__info */ public function test__info() { $this->object->__info('Dummy text.'); $this->assertError('Dummy text.', E_USER_NOTICE); }
/** * 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); }