/** * @covers ::setAllowSubsequentAttachmentUpload * @covers ::getAllowSubsequentAttachmentUpload */ public function testSetGetAllowSubsequentAttachmentUpload() { $this->assertFalse($this->options->getAllowSubsequentAttachmentUpload()); $this->options->setAllowSubsequentAttachmentUpload(true); $this->assertTrue($this->options->getAllowSubsequentAttachmentUpload()); $this->options->setAllowSubsequentAttachmentUpload('1'); $this->assertTrue($this->options->getAllowSubsequentAttachmentUpload()); $this->options->setAllowSubsequentAttachmentUpload(false); $this->assertFalse($this->options->getAllowSubsequentAttachmentUpload()); $this->options->setAllowSubsequentAttachmentUpload('0'); $this->assertFalse($this->options->getAllowSubsequentAttachmentUpload()); }