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