Exemple #1
0
 /**
  * Make sure we aren't overriding Kohana::log and that 
  * Make sure Minion_Log::instance() is an instance of Minion_Log (not just Log)
  *
  * @access public
  * @return void
  */
 function test_instance()
 {
     $log = Minion_Log::instance();
     $this->assertInstanceOf('Minion_Log', $log);
     // assertNotInstanceOf doesn't work here!?
     $this->assertFalse(is_a(Kohana::$log, 'Minion_Log'));
 }