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