public function testExceptionIsThrownIfMessageCouldNotBeWritten() { self::$diskIsFull = true; $this->expectException(MessageCanNotBeStoredException::class); $this->fileQueue->add($this->createTestMessageWithName('foo_bar')); }
public final function __construct(string $storagePath, string $lockFilePath, string $messageFileName) { parent::__construct($storagePath, $lockFilePath); $this->messageFileName = $messageFileName; }