예제 #1
0
 public function testDeleteMessageUnsupported()
 {
     $q = new Queue('test', new NullAdapter());
     $this->assertFalse($q->canDeleteMessage());
     $this->setExpectedException(UnsupportedMethodCallException::class);
     $q->delete(new Message());
 }