예제 #1
0
 public function test_that_it_can_set_and_get_attachments()
 {
     $attachment = $this->mock(Attachment::class);
     $this->message->addAttachment($attachment);
     $attachments = $this->message->getAttachments();
     $this->assertSame($attachment, $attachments[0]);
 }