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