spec\Newscoop\Services\AttachmentServiceSpec::it_should_generate_attachment_url PHP Méthode

it_should_generate_attachment_url() public méthode

    public function it_should_generate_attachment_url()
    {
        $attachment = new Attachment();
        $attachment->setName('testfile.pdf')->setId(34);
        $this->getAttachmentUrl($attachment);
    }