public function testUnscheduleMessageUnsupported() { $q = new Queue('test', new NullAdapter()); $this->assertFalse($q->isSendParamSupported(SendParameters::SCHEDULE)); $this->setExpectedException(UnsupportedMethodCallException::class); $q->unschedule(new Message()); }