spec\Crummy\Phlack\Message\Collection\AttachmentCollectionSpec::it_sets_attachments_to_the_collection PHP Метод

it_sets_attachments_to_the_collection() публичный Метод

public it_sets_attachments_to_the_collection ( Crummy\Phlack\Message\AttachmentInterface $attachment )
$attachment Crummy\Phlack\Message\AttachmentInterface
    public function it_sets_attachments_to_the_collection(AttachmentInterface $attachment)
    {
        $this->set('attachment1', $attachment)->shouldReturn(null);
        $this->get('attachment1')->shouldReturn($attachment);
    }