/**
  * Tests Stomp->hasFrameToRead()
  *
  */
 public function testHasFrameToRead()
 {
     $this->markTestIncomplete("This test doesn't use mocks, it tries to talk to a STOMP server");
     if (!$this->Stomp->isConnected()) {
         $this->Stomp->connect();
     }
     $this->Stomp->setReadTimeout(5);
     $this->assertFalse($this->Stomp->hasFrameToRead(), 'Has frame to read when non expected');
     $this->Stomp->send($this->queue, 'testHasFrameToRead');
     $this->Stomp->subscribe($this->queue, array('ack' => 'client', 'activemq.prefetchSize' => 1));
     $this->assertTrue($this->Stomp->hasFrameToRead(), 'Did not have frame to read when expected');
     $frame = $this->Stomp->readFrame();
     $this->assertTrue($frame instanceof StompFrame, 'Frame expected');
     $this->Stomp->ack($frame);
     $this->Stomp->disconnect();
     $this->Stomp->setReadTimeout(60);
 }