public function testObserver()
 {
     $o = $this->getMock('cfhCompile_Compiler_Observer_Interface');
     $o->expects($this->atLeastOnce())->method('notify');
     $i = new cfhCompile_ClassIterator_Manual();
     $i->attach(new cfhCompile_Class_Reflection($this));
     $c = new cfhCompile_Compiler();
     $c->setCodeReader(new cfhCompile_CodeReader());
     $c->setCodeWriter($this->getMock('cfhCompile_CodeWriter_WriteStrategy_Interface'));
     $c->setClassIterator($i);
     $c->attachObserver($o);
     $c->attachObserver($o);
     $c->attachObserver($o);
     $c->compile();
     $c->detachObserver($o);
     $c->compile();
 }