public function testCanNotPeekAnEmptyQueue() { $queue = new CQueue(); $this->setExpectedException('CException'); $item = $queue->peek(); }